summaryrefslogtreecommitdiffstats
path: root/source/lib/username.c
diff options
context:
space:
mode:
authorCVS Import User <samba-bugs@samba.org>2004-04-04 11:38:24 +0000
committerCVS Import User <samba-bugs@samba.org>2004-04-04 11:38:24 +0000
commit211fcde5103a2eeaa5c4a71040f49d3400c1491e (patch)
tree48c6de8f701a65555dacc860197e1307da268a4c /source/lib/username.c
parent139b1658ca30692835c1a7203c7cd003e587ac12 (diff)
downloadsamba-211fcde5103a2eeaa5c4a71040f49d3400c1491e.tar.gz
samba-211fcde5103a2eeaa5c4a71040f49d3400c1491e.tar.xz
samba-211fcde5103a2eeaa5c4a71040f49d3400c1491e.zip
r5: merge in the SAMBA_3_0_RELEASE branch from cvs
to checkout try: svn co svn+ssh://svn.samba.org/home/svn/samba/branches/SAMBA_3_0_RELEASE samba-3_0-release metze
Diffstat (limited to 'source/lib/username.c')
-rw-r--r--source/lib/username.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/lib/username.c b/source/lib/username.c
index ac5530b5c71..40327f81687 100644
--- a/source/lib/username.c
+++ b/source/lib/username.c
@@ -283,11 +283,6 @@ struct passwd *Get_Pwnam(const char *user)
fstring user2;
struct passwd *ret;
- if ( *user == '\0' ) {
- DEBUG(10,("Get_Pwnam: empty username!\n"));
- return NULL;
- }
-
fstrcpy(user2, user);
DEBUG(5,("Finding user %s\n", user));