[Samba] LDAP + PAM
This is probably a really stupid question, but i was wondering if I were to use ldap with samba 2.2.3a, do I really need to use pam? I was kind of hoping to use ldap like i did with smbpasswd. To add a user, I first add the user to the /etc/passwd file and then add the user to the ldap directory. I know that pam woould probably be easier, but I really dont want to mess around with pam quite yet. If it means anything I am using a freebsd machine. Thanks in advance. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Compiling Samba 2.2.3a with LDAP
I am trying to compile samba 2.2.3a with ldap support and after running configure --with-ldapsam, it bombs about 3/4 of the way through with the following error: checking whether to support ACLs... no checking whether to build winbind... no, unsupported on freebsd4.4 checking configure summary configure: error: summary failure. Aborting config Then if I look at the end of the config.log, i have this error: configure:12936: checking whether to build winbind configure:13019: gcc -o conftest -Oconftest.c -lldap -llber -lresolv -lcrypt 1>&5 /usr/libexec/elf/ld: cannot find -lldap configure: failed program was: #line 13015 "configure" #include "confdefs.h" #include "./tests/summary.c" Can any one give me any idea on how to fix this please? All help is appreciated. Thanks in advance. -- Peter Erickson [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba+Ldap - trying to change password
Thanks for all the help with this issue. I just found out what the problem was. Originally, smbldap-passwd.pl was setup to call the following on line 170 $ret = system "$ldappasswd $dn -s $pass > /dev/null"; Looking at the man page, ldappasswd is expecting the user ($dn) to be the last thing of the command so you must change the above line to $ret = system "$ldappasswd -s $pass $dn > /dev/null"; Again, thanks for the help. On Tue, Apr 23, 2002 at 12:14:57PM -0500, Peter Erickson said: > Thanks for the idea, but my passwords dont include any spaces. So unfortunately, >that was not the problem. If this helps at all, I am running FreeBSD 4.4. Any other >idea would be greatly appreciated. Thanks in advance. > > On Mon, Apr 22, 2002 at 01:18:02PM -0700, George Farris said: > > Does your password contain a space character? > > > > I had to modify smbldap-passwd.pl to accept passwords that contained a > > space character other wise I got that message. > > > > The line in smbldap-passwd.pl is: > > $ret = system "$ldappasswd $dn -s $pass > /dev/null"; > > replace it with: > > $ret = system "$ldappasswd $dn -s \"$pass\" > /dev/null"; > > > > On Mon, 2002-04-22 at 12:07, Thomas Klettke wrote: > > > >I have been following the howto for samba and ldap from the idealx.org > > > >website, but im having trouble changing the password. Unfortunately, I > > > >dont know perl good enough to debug this myself. When I run > > > >smbldap-passwd.pl testuser, i get the following output. > > > > > > >root@sideswipe% smbldap-passwd.pl testuser > > > >Changing password for testuser > > > >New password : > > > >Retype new password : > > > >Change password of an LDAP user > > > > > > . > > > . > > > . > > > > > > >Can't return outside a subroutine at /usr/local/sbin/smbldap-passwd.pl > > > >line 170, chunk 2. > > > > > > >-- > > > >Peter Erickson > > > > > > Peter, > > > I've tried to create the same error message, got it when I entered a blank > > > password. Is that what you did? > > > Another place to check: Did you modify /usr/local/sbin/smbldap_conf.pm to > > > match your settings? > > > > > > I know, it sounds trivial, but these are the first things to look at before > > > attempting any further troubleshooting. > > > > > > Thomas Klettke > > > [EMAIL PROTECTED] > > > Network Administrator > > > Aesbus Knowledge Solutions > > > Houston, TX 77069 > > > "The instructions said to use Windows 98 or better, so I installed RedHat." > > > > > > > > > > > > > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- > > == > > George FarrisComputer Support Cowichan > > [EMAIL PROTECTED]Malaspina University-College > > > > A conclusion is simply the place where you got tired of thinking. > > > > --- Electronic Frontier Foundation http://www.eff.org --- > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > -- > Peter Erickson > [EMAIL PROTECTED] > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- Peter Erickson [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba+Ldap - trying to change password
Thanks for the idea, but my passwords dont include any spaces. So unfortunately, that was not the problem. If this helps at all, I am running FreeBSD 4.4. Any other idea would be greatly appreciated. Thanks in advance. On Mon, Apr 22, 2002 at 01:18:02PM -0700, George Farris said: > Does your password contain a space character? > > I had to modify smbldap-passwd.pl to accept passwords that contained a > space character other wise I got that message. > > The line in smbldap-passwd.pl is: > $ret = system "$ldappasswd $dn -s $pass > /dev/null"; > replace it with: > $ret = system "$ldappasswd $dn -s \"$pass\" > /dev/null"; > > On Mon, 2002-04-22 at 12:07, Thomas Klettke wrote: > > >I have been following the howto for samba and ldap from the idealx.org > > >website, but im having trouble changing the password. Unfortunately, I > > >dont know perl good enough to debug this myself. When I run > > >smbldap-passwd.pl testuser, i get the following output. > > > > >root@sideswipe% smbldap-passwd.pl testuser > > >Changing password for testuser > > >New password : > > >Retype new password : > > >Change password of an LDAP user > > > > . > > . > > . > > > > >Can't return outside a subroutine at /usr/local/sbin/smbldap-passwd.pl > > >line 170, chunk 2. > > > > >-- > > >Peter Erickson > > > > Peter, > > I've tried to create the same error message, got it when I entered a blank > > password. Is that what you did? > > Another place to check: Did you modify /usr/local/sbin/smbldap_conf.pm to > > match your settings? > > > > I know, it sounds trivial, but these are the first things to look at before > > attempting any further troubleshooting. > > > > Thomas Klettke > > [EMAIL PROTECTED] > > Network Administrator > > Aesbus Knowledge Solutions > > Houston, TX 77069 > > "The instructions said to use Windows 98 or better, so I installed RedHat." > > > > > > > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > -- > == > George Farris Computer Support Cowichan > [EMAIL PROTECTED]Malaspina University-College > > A conclusion is simply the place where you got tired of thinking. > > --- Electronic Frontier Foundation http://www.eff.org --- > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- Peter Erickson [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba+Ldap - trying to change password
On Mon, Apr 22, 2002 at 02:07:57PM -0500, Thomas Klettke said: > >I have been following the howto for samba and ldap from the idealx.org > >website, but im having trouble changing the password. Unfortunately, I > >dont know perl good enough to debug this myself. When I run > >smbldap-passwd.pl testuser, i get the following output. > > >root@sideswipe% smbldap-passwd.pl testuser > >Changing password for testuser > >New password : > >Retype new password : > >Change password of an LDAP user > > . > . > . > > >Can't return outside a subroutine at /usr/local/sbin/smbldap-passwd.pl > >line 170, chunk 2. > > >-- > >Peter Erickson > > Peter, > I've tried to create the same error message, got it when I entered a blank > password. Is that what you did? > Another place to check: Did you modify /usr/local/sbin/smbldap_conf.pm to > match your settings? > > I know, it sounds trivial, but these are the first things to look at before > attempting any further troubleshooting. > > Thomas Klettke > [EMAIL PROTECTED] > Network Administrator > Aesbus Knowledge Solutions > Houston, TX 77069 > "The instructions said to use Windows 98 or better, so I installed RedHat." > Thanks for the quick response. I thought that I changed everything that i needed to in smbldap_conf.pm, but maybe i didnt. I changed the slaveLDAP, masterLDAP, suffix, binddn, bindpasswd, _userSmbHome, _userProfile, the path to smbpasswd, and the ldap_path. I thought that was everything. I also ran smbldap-passwd.pl multiple times and typing in a password and I still havent got it to work. Maybe its possible that I installed the scripts wrong. I untar'ed it into a directory and copied all the .pl and .pm scripts into /usr/local/sbin. Then ran make on mkntpwd and copied that too. Finally I modified smbldap_conf.pm. Any other ideas? Thanks for the help. Also, none of the scripts run unless im in the /usr/local/sbin directory. I think is has to do with the path for packages for perl, but like i said before, i dont know perl well enough to fix this. Thanks again. -- Peter Erickson [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba+Ldap - trying to change password
I have been following the howto for samba and ldap from the idealx.org website, but im having trouble changing the password. Unfortunately, I dont know perl good enough to debug this myself. When I run smbldap-passwd.pl testuser, i get the following output. root@sideswipe% smbldap-passwd.pl testuser Changing password for testuser New password : Retype new password : Change password of an LDAP user usage: /usr/local/bin/ldappasswd [options] [user] user: the autentication identity, commonly a DN Password change options: -a secret old password -A prompt for old password -s secret new password -S prompt for new password Common options: ... -Z Start TLS request (-ZZ to require successful response) Can't return outside a subroutine at /usr/local/sbin/smbldap-passwd.pl line 170, chunk 2. Any help that anyone could give me is greatly appreciated. Thanks in advance. -- Peter Erickson [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Domain User Group
I am running samba 2.2.3 and was wondering if there was a way to setup the domain user group or something comparable to the domain admin group. I have looked in the man page, but it is possible that i just overlooked it or something. What i am trying to do is to add a domain group to a local group on a win2k pro machine, but when i click on the add button for the group, all i see is the domain admin group and all the users, there is not domain user group. Any help that you can give me is appreciated. Thanks in advance. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba