Re: [Samba] smbldap-tools, gecos, & displayName

2006-10-26 Thread Zach
I had already modified the script to accomplish the desired effect. I was just trying to find out if there is a way to accomplish this effect without editing the script directly. Actually altering a program is always a last resort. The modification is attached. On 10/25/06, Tri Tu <[EMAIL PROT

Re: [Samba] smbldap-tools, gecos, & displayName

2006-10-25 Thread Tri Tu
Modify smbldap-useradd for 'gecos' => "$config{userGecos}", to 'gecos' => "$userName", or to whatever value you want it to be. Zach wrote: Right, I am just trying to find a way to get it to default

Re: [Samba] smbldap-tools, gecos, & displayName

2006-10-25 Thread Zach
Right, I am just trying to find a way to get it to default to the chosen username if no -c is specified at the command line On 10/25/06, Tri Tu <[EMAIL PROTECTED]> wrote: If you don't specify the option while adding new user, it will take the default option from smbldap.conf file. Many of opti

[Samba] smbldap-tools, gecos, & displayName

2006-10-25 Thread Zach
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 displaye