search for: gecos

Displaying 20 results from an estimated 606 matches for "gecos".

2020 Feb 14
1
winbindd: getent passwd yields empty GECOS field
On Thu, 2020-02-13 at 15:07 -0800, Johan Hattne via samba wrote: >> Dear all; >> >> I'm trying to use winbindd to resolve names in an AD setup. I can >> authenticate just fine, but I've noticed that for some users "getent >> passwd" returns a GECOS field populated with displayName from the LDAP >> servers and for others is does not. For example: >> >> $ getent passwd user1 >> user1:*:1111111111:2222222222:John Doe:/home/user1:/bin/bash >> $ getent passwd user2 >> user2:*:3333333333:2222222222::...
1996 Dec 06
1
Stupid passwd tricks: User with blank GECOS can''t change passwd
I have discovered that a user who has a blank GECOS field in the passwd file under RedHat 4.0 (Colgate) is unable to change passwords. Running the passwd command goes like this: [user@host user]$ passwd Password: [entry of old passwd] New password: [entry of new passwd] [user@host user]$ echo $! 1 [user@host user]$ Setting the name field in the G...
2016 Jul 05
4
winbind idmap_ad rfc2037 can't read UIdnumber
...ent group info2 >> info2:x:10002: >> ------------------ >> All is OK >> >> >> >> For the User, it is not working as expected : >> ------------- >> # net ads search '(SamAccountName=b.btstest)' samaccountName >> uinumber gidnumber gecos -P >> Got 1 replies >> >> sAMAccountName: b.btstest >> -------------------------------- >> No uidnumber,gidnumber,gecos ? >> >> Same search with admin account : >> ------------------------ >> net ads search '(SamAccountName=b.btstest)'...
2012 Jan 02
0
getent/wbinfo and gecos field weird behaviour
...querying for specific user info. I'm running Samba 3.5.4 in Centos 5.7 (3.5.4-0.83.el5_7.2) with default options, and securty = ads Everything works fine, but now I'm working on some autoemails with reports and I want to get rid of the user names, using user's first / last names from Gecos field in the emails. srv names, (D)OMAIN name, (PATH)S and (usr)user names/uids have been ommited for clarity: [root at xxx:~]$ getent passwd D+usr D+usr:*:nnn:mmm::/path/D/usr:/sbin/nologin [root at xxx:~]$ getent passwd | grep D+usr D+usr:*:nnn:mmm:User Name:/path/D/usr:/sbin/nologin getent se...
2020 Feb 13
4
winbindd: getent passwd yields empty GECOS field
Dear all; I'm trying to use winbindd to resolve names in an AD setup. I can authenticate just fine, but I've noticed that for some users "getent passwd" returns a GECOS field populated with displayName from the LDAP servers and for others is does not. For example: $ getent passwd user1 user1:*:1111111111:2222222222:John Doe:/home/user1:/bin/bash $ getent passwd user2 user2:*:3333333333:2222222222::/home/user2:/bin/bash I don't see any systemati...
2004 Aug 25
1
finger winbind & gecos
Has anybody run into the wierdness of the gecos info coming from winbind? Here's an example: [root@server]# getent passwd dflores dFlores:x:21509:13201:Flores, Dick:/home/DOMAIN/dFlores:/bin/bash [root@server]# finger dflores Login: dFlores Name: Flores Directory: /home/DOMAIN/dFlores Shell: /bin/bash Of...
2016 Jul 04
2
winbind idmap_ad rfc2037 can't read UIdnumber
...ber -P Got 1 replies sAMAccountName: info2 gidNumber: 10002 ------------------ # getent group info2 info2:x:10002: ------------------ All is OK For the User, it is not working as expected : ------------- # net ads search '(SamAccountName=b.btstest)' samaccountName uinumber gidnumber gecos -P Got 1 replies sAMAccountName: b.btstest -------------------------------- No uidnumber,gidnumber,gecos ? Same search with admin account : ------------------------ net ads search '(SamAccountName=b.btstest)' samaccountName uinumber gidnumber gecos -U administrator Enter administrator...
2010 Jun 15
1
gecos?
This has always bothered me.. wtf does gecos mean (in the samba ldap)?
2010 Nov 04
1
AD member server - getting a user's name (GECOS)
...my own use? Our site uses loginIDs for users that give no clue as to their identity, it would be nice to turn those IDs into the user's actual name so I know who is doing what. I've been playing with wbinfo which seemed like a good place to start, but no joy there. I'm looking for GECOS info, not the user's UID or GID. Thanks, Bob -- *********************************************************************** Robert M. Martel Pushing myself and this old machine System Administrator Burning fumes Levin College of Urban Affairs and what's...
2016 Jul 05
0
winbind idmap_ad rfc2037 can't read UIdnumber
...02: >>> ------------------ >>> All is OK >>> >>> >>> >>> For the User, it is not working as expected : >>> ------------- >>> # net ads search '(SamAccountName=b.btstest)' samaccountName >>> uinumber gidnumber gecos -P >>> Got 1 replies >>> >>> sAMAccountName: b.btstest >>> -------------------------------- >>> No uidnumber,gidnumber,gecos ? >>> >>> Same search with admin account : >>> ------------------------ >>> net ads search ...
2020 Feb 14
0
winbindd: getent passwd yields empty GECOS field
On Thu, 2020-02-13 at 15:07 -0800, Johan Hattne via samba wrote: > Dear all; > > I'm trying to use winbindd to resolve names in an AD setup. I can > authenticate just fine, but I've noticed that for some users "getent > passwd" returns a GECOS field populated with displayName from the LDAP > servers and for others is does not. For example: > > $ getent passwd user1 > user1:*:1111111111:2222222222:John Doe:/home/user1:/bin/bash > $ getent passwd user2 > user2:*:3333333333:2222222222::/home/user2:/bin/bash...
2014 Aug 05
1
samba-tool syntax error?
I am using the following syntax to create a new user samba-tool user add user passwd --userou=Faculty --given-name=new --surname=user --gecos=198 --mail-address=newuser at myschool.edu Which gives me the following error: ERROR(<type 'exceptions.ValueError'>): Failed to add user 'user': - unable to parse dn string File "/home/vms/devbin/lib/python2.7/site-packages/samba/netcmd/user.py", line 176, in r...
2009 Feb 05
0
Changes to the gecos field returned by winbind
...tc. against another database. Personally, I can easily do an LDAP search for the IDs, but we have other corporate tools that don't understand, nor want to understand how to find my LDAP server. I know Samba doesn't need any more smb.conf options, but that would be one way for the "gecos" output to be selected by the admin. Thanks! Bill Marshall
2006 Oct 25
1
smbldap-tools, gecos, & displayName
Hi, I am using the Idealx smbldap scripts to manage my samba users in an OpenLDAP backend. The smbldap.conf specifies the value for the gecos attribute, which is then propogated to the displayName attribute by the smbldap-useradd script. As a result when I log on to windows the user is displayed as "System User" in the start menu (and presumably other places as well). Ideally there would be a way to make displayName default t...
2005 May 31
0
Access denied error when trying to join XP to Samba Domain
...print FH $entry; my $cmd = `$LDAPMODIFY -D $ADMINDN -w $ADMINPASS -x -f updateidpool.ldif`; } sub GetShadowLast () { my ($pwdlastset, $i); $pwdlastset = `date +%s`; chomp ($pwdlastset); $i = int($pwdlastset); return $i; } sub SetupLDAPEntry { my ($userdn, $username, $uidnum, $gidnum, $gecos, $homedir, $loginshell, $shadowlast, $shadowmax, $shadowwarning) = @_; my $entry = "dn: $userdn objectclass: top objectclass: account objectclass: posixAccount objectclass: shadowAccount cn: $username uid: $username uidNumber: $uidnum gidNumber: $gidnum gecos:...
2006 Feb 08
2
ldap authentication without 'ldap filter' parameter
...r' paramater has been removed. After some search, I read that I have to configure nss_ldap. But I don't know how to configure it properly to operate with our LDAP database. Let me explain : We used the 'ldap filter' parameter like this : ldap filter = (&(iufmLogin=%u)(gecos=#*)) Our authentication is based on the 'iufmLogin' attribute (we cannot use the 'uid' attribute) and the gecos has to start with the '#' character for the user to be authenticated. But my problem is that I can't parameter the /etc/ldap.conf file to use these filte...
2004 Nov 19
2
Maildir/mbox on a per-user basis
Hello, The Wiki indicates that Dovecot can do either mbox or Maildir on a per-user basis: default_mail_env can be overridden in userdb for each user. This works with userdbs supporting the "mail" attribute (eg. passwd-file, SQL, LDAP). How exactly does one do this for passwd-file? Thanks, -Jon -- Jon Nathan jon at rupture.net
2016 Jul 05
2
winbind idmap_ad rfc2037 can't read UIdnumber
...---- >>>> All is OK >>>> >>>> >>>> >>>> For the User, it is not working as expected : >>>> ------------- >>>> # net ads search '(SamAccountName=b.btstest)' samaccountName >>>> uinumber gidnumber gecos -P >>>> Got 1 replies >>>> >>>> sAMAccountName: b.btstest >>>> -------------------------------- >>>> No uidnumber,gidnumber,gecos ? >>>> >>>> Same search with admin account : >>>> -----------------------...
2024 Jan 10
3
winbind offline logon
...e logon working again. FWIW I'm using > samba 4.18.9 in slackware and 4.17.12-Debian in debian. > What are the drawbacks of using the 'rid' backend that you see ? AD, whilst it has all the rfc2307 attributes, it only really uses a very small portion of them: uidNumber gidNumber gecos uid loginShell unixHomeDirectory If I run 'getent passwd rowland' on a Unix domain member using the 'rid' idmap backend', I get this: rowland:*:11104:10513:Rowland Penny:/home/rowland:/bin/bash Which would seem to be: username:??:UID:GID:?????:Home Directory:login shell The...
2005 Mar 09
0
Problems setting up a Samba BDC
...aHomePath: \\GIMLI\homes sambaHomeDrive: H: sambaProfilePath: \\GIMLI\profiles\ sambaPrimaryGroupSID: S-1-5-21-2178396160-3634057995-2524863810-512 sambaLMPassword: XXX sambaNTPassword: XXX sambaAcctFlags: [U ] sambaSID: S-1-5-21-2178396160-3634057995-2524863810-2996 loginShell: /bin/false gecos: Netbios Domain Administrator structuralObjectClass: inetOrgPerson entryUUID: bab346fa-2520-1029-981f-fa6c5a9a0b92 creatorsName: cn=Manager,dc=united-securities,dc=com createTimestamp: 20050309195402Z entryCSN: 20050309195402Z#000005#00#000000 modifiersName: cn=Manager,dc=united-securities,dc=com m...