ldap problem
Hello! We trying to move to ldap :-) Here are strings from our smb.conf: ldap server = lex.p98.belkam.com ldap suffix = o=Aspec,c=RU ldap admin dn = cn=root,o=Aspec,c=RU But we can't get access to shares. This is what we see in openldap log: Apr 23 10:44:05 lex slapd[25479]: daemon: conn=9 fd=9 connection from IP=127.0.0.1:32948 (IP=0.0.0.0:34049) accepted. Apr 23 10:44:05 lex slapd[25995]: conn=9 op=0 BIND dn=CN=ROOT,O=ASPEC,C=RU method=128 Apr 23 10:44:05 lex slapd[25995]: conn=9 op=0 RESULT tag=97 err=0 text= Apr 23 10:44:05 lex slapd[25994]: conn=9 op=1 SRCH base=o=Aspec,c=RU scope=2 filter=((objectClass=posixAccount)(uid=BELKAM\5CDM)) But my account is dm! Why samba wants to search BELKAM\DM ? And this we have in smbd log: [2002/04/23 10:35:40, 0] passdb/pdb_ldap.c:ldap_connect_system(172) Bind failed: Can't contact LDAP server [2002/04/23 10:35:40, 0] passdb/pdb_ldap.c:ldap_connect_system(172) Bind failed: Can't contact LDAP server
2.2.3a-CVS HPUX 10.20 and source/nsswitch/hp_nss_common.h
Hi, the current 2.2.3x CVS sources don't compile on HPUX 10.20 while 2.2.3b is ok. reason is the change in nsswitch/hp_nss_common.h after 2.2.3b which is still needed for HPUX 10.20. please undo that minor change or just apply the attached patch. thanks, Harald Koenig -- I hope to die ___ _ before I *have* to use Microsoft Word., 0--,|/OOO\ Donald E. Knuth, 02-Oct-2001 in Tuebingen._/ / /OOO\ \ \/OOO\ \ O|// Harald Koenig \/\/\/\/\/\/\/\/\/ science+computing ag// / \\ \ [EMAIL PROTECTED]^ ^ Index: source/nsswitch/hp_nss_common.h === RCS file: /cvsroot/samba/source/nsswitch/hp_nss_common.h,v retrieving revision 1.1.2.3 diff -u -r1.1.2.3 hp_nss_common.h --- source/nsswitch/hp_nss_common.h 22 Mar 2002 00:03:48 - 1.1.2.3 +++ source/nsswitch/hp_nss_common.h 23 Apr 2002 11:06:02 - @@ -23,8 +23,12 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_SYNCH_H #include synch.h +#endif +#ifdef HAVE_PTHREAD_H #include pthread.h +#endif typedef enum { NSS_SUCCESS,
Re: head rpm build fails due to make_printerdef not building
On 22 Apr 2002, Bradley W. Langhorst wrote: maybe its a makefile problem? there is no object file after the build but I didn't see any obvious errors in the compilation step (other than the usual discarding qualifiers stuff) make_printerdef is going away. We need to update the spec file to reflect this. John T is working on it. also --with-pam_smbpass cannot complete compilation with the current HEAD. HmmI'll check cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sam's Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca--
smb_len
hi, after the message_type(byte 0)and message flag (byte 1)fields in the smb header what is placed in bytes2 and3 of the header.as this is made use of incomputing the length of the header. in detail,in the smb.h(ver--2.0.7) header there is a hash define for smb_len,which uses the 3,2and 1st byte to compute length.please can anyone tell me what computation is being carried out there. i am writing a client code and i am not able to proceed because the computation of smb_len returns 0 and no other functions are executed. please do help me out. regards ranjaniDo You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more
Re: Cannot rename dir from win2k with last cvs version
On Tue, Apr 23, 2002 at 02:27:36PM +0200, Andreas Moroder wrote: Hello, I installed the cvs version from last friday. If a user on a win2k workstation tries to rename a directory in a samba share, he gets a error message. He can delete this directory or even create new ones. On a win98 machine there are no problems. The directory has rwxrwxrwx rights and the parent dir too. With a older cvs of samba it works well !! Does anyone know the reason ? Already fixed - it was a temporary problem in the CVS sources, sorry. Jeremy.
Problem with current 2.2.4-pre
Hi, if 2.2.4 is really at horizon, this bug in current CVS should be fixed. [2002/04/23 17:01:13, 0] smbd/open.c:open_file(179) Error doing fstat on open file kuhnert/NTUSER.DAT.tmp (No such file or directory) [2002/04/23 17:01:13, 0] smbd/open.c:open_file(179) Error doing fstat on open file kuhnert/ntuser.dat.LOG.tmp (No such file or directory) cheers, Daniel -Ursprüngliche Nachricht- Von: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 15. April 2002 19:37 An: Beschorner Daniel Cc: '[EMAIL PROTECTED]' Betreff: Re: Problem with current 2.2.4-pre On Thu, 11 Apr 2002, Beschorner Daniel wrote: Hi! Every time a user logs out from the Samba-PDC and the user profile is written to the profile share on the Samba-PDC this error occures on some (5-10) files of the profile in the log. [2002/04/11 09:39:06, 0] smbd/open.c:open_file(179) Error doing fstat on open file schnieders/Recent/Glsynt40.lnk (No such file or directory) Seems as the path would be only relative to the profile share, instead of complete. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sam's Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca--
RE: 2.2.3a-CVS HPUX 10.20 and source/nsswitch/hp_nss_common.h
Andrew, Will need the same to the head branch (SAMBA_3_0, I guess, now), so it will compile on HPUX 10.20 as well... Thanks, Don -Original Message- From: MCCALL,DON (HP-USA,ex1) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 11:31 AM To: 'Harald Koenig'; [EMAIL PROTECTED] Subject: RE: 2.2.3a-CVS HPUX 10.20 and source/nsswitch/hp_nss_common.h Hi Jeremy, Can you apply this change Harald has attached? It looks like another victim of the port of Head winbindd back into the 2.2 branch, at revision 1.1.2.3 of this file... Thanks, Don -Original Message- From: Harald Koenig [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 7:12 AM To: [EMAIL PROTECTED] Cc: Harald Koenig Subject: 2.2.3a-CVS HPUX 10.20 and source/nsswitch/hp_nss_common.h Hi, the current 2.2.3x CVS sources don't compile on HPUX 10.20 while 2.2.3b is ok. reason is the change in nsswitch/hp_nss_common.h after 2.2.3b which is still needed for HPUX 10.20. please undo that minor change or just apply the attached patch. thanks, Harald Koenig -- I hope to die ___ _ before I *have* to use Microsoft Word., 0--,|/OOO\ Donald E. Knuth, 02-Oct-2001 in Tuebingen._/ / /OOO\ \ \/OOO\ \ O|// Harald Koenig \/\/\/\/\/\/\/\/\/ science+computing ag// / \\ \ [EMAIL PROTECTED]^ ^
Re: smb_len
RANJANI NAGARAJAN wrote: hi, after the message_type(byte 0) and message flag (byte 1) fields in the smb header what is placed in bytes 2 and 3 of the header. You are looking at the wrong header. The structure you are looking at is: 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS |LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | / TRAILER (Packet Type Dependent) / | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ which is the NBT Session Service header. If you are going to implement a CIFS client, you will *need* to look at: http://us6.samba.org/samba/docs/ http://ubiqx.org/cifs/rfc-draft/rfc1001.html http://ubiqx.org/cifs/rfc-draft/rfc1002.html http://ubiqx.org/cifs/index.html http://ubiqx.org/cifs/References.html http://www.snia.org/English/Work_Groups/NAS/CIFS/WG_CIFS_Docs.html ...and that's just for starters. Chris -)- -- Christopher R. Hertel -)- University of Minnesota [EMAIL PROTECTED] Networking and Telecommunications Services
Re: Problem with current 2.2.4-pre
On Tue, Apr 23, 2002 at 07:11:41PM +0200, Beschorner Daniel wrote: Hi, if 2.2.4 is really at horizon, this bug in current CVS should be fixed. [2002/04/23 17:01:13, 0] smbd/open.c:open_file(179) Error doing fstat on open file kuhnert/NTUSER.DAT.tmp (No such file or directory) [2002/04/23 17:01:13, 0] smbd/open.c:open_file(179) Error doing fstat on open file kuhnert/ntuser.dat.LOG.tmp (No such file or directory) I just fixed this in SAMBA_2_2 and HEAD cvs. It's actually a spurious error message, not a fatal flaw. Jeremy.
Re: add cast for splint
Hello Andrew, that would be ok. It would be nice if you could commit the changes to the cvs. Bye Andreas -Ursprüngliche Nachricht- Von: Andrew Bartlett [EMAIL PROTECTED] An: Andreas Moroder [EMAIL PROTECTED] Cc: Andrew Bartlett [EMAIL PROTECTED]; [EMAIL PROTECTED] Gesendet: Dienstag, 23. April 2002 05:05 Betreff: Re: add cast for splint Andreas Moroder wrote: Hello Andrew, what about a #ifdef IRIX or similar ? It would have to be #ifdef _SPLINT_ becouse only splint doesn't like this - the rest of the world is fine with it... Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
Re: /etc/fstab entry to allow users to mount samba shares
On Tue, 23 Apr 2002, Lars Heineken wrote: I tried to make an entry in /etc/fstab to enable users to mount a specific samba-share (here: //Heineken/CD-ROM) //Heineken/CD-ROM /mnt/HeinekenCDROM smbfs user,auto,username=x, passwordx0 0 the only way to make this work is that the mount-destination is owned by the user who want's to mount. So lars for example can do the mount if /mnt/HeinekenCDROM is owned by lars. As I don't want a speparate mountpoint for each user, how can I solve this the right way. Just like a CD-ROM mount ? The right way is to throw away smbmount and use smbconnect. The problem you are seeing is that mount reads the fstab but doesn't do anything with the entries and just passes them to smbmount. smbmount then does the mount syscall that mounts smbfs, but it doesn't (want to) understand the options mount has and interprets them differently (eg user). smbconnect would mean that mount does the mount syscall, and also all the user/auto/noexec parsing so it would be identical to all other fs'. smbfs then calls smbconnect to get the connection. The only problem with this is that smbconnect only exists on one of my machines and is not very well tested. There are a few other options that may be seen as less experimental: * automount Use autofs or some other automounter. Judging from the mount options you don't care if a user can access the cd some other user mounted. With autofs the following: /etc/auto.master: /mnt/heineken /etc/auto.heineken --timeout=60 /etc/auto.heineken: cdrom -fstype=smbfs,username=x,password=x ://Heineken/CD-ROM would mount the cdrom when someone tried to access /mnt/heineken/cdrom. A potential problem might be what happens when the cd is ejected on the other end. I know I have never tested that ... * setuid root mount_heineken_cdrom Another way to do this is to make a small setuid root program to do this mount. For safety all options should hardcoded into the program. * modify smbmnt The rule that only the user may mount on dirs he owns is implemented in smbmnt. You have the code, change it. Do note that it is a security risk to let users mount things wherever they want ... /Urban
Re: /etc/fstab entry to allow users to mount samba shares
I'm sorry to tell, but I Had to drop the whole thing. When I mounted the volume as root, a single read-acces onto the mountes smb-share on the client-side locked his machine. The smb-server noticed nothing. The cd-rom is mounted via supermount. All windows-clients read the share without problems. - Suggestions ? Reasons ? A try with nfs showed other problems. With nfs I couldn't mount /mnt/cdrom. This worked after explicit mounting of /dev/cdrom, supermount disabled. I think the kernel prevents sharing of supermounted directories. It seems like there is no way to share a supermounted cd-rom (maybe with autofs ?) to different linux-clients.. :-( On Tue, 23 Apr 2002 22:38:17 +0200 (CEST) Urban Widmark [EMAIL PROTECTED] wrote: On Tue, 23 Apr 2002, Lars Heineken wrote: I tried to make an entry in /etc/fstab to enable users to mount a specific samba-share (here: //Heineken/CD-ROM) //Heineken/CD-ROM /mnt/HeinekenCDROM smbfs user,auto,username=x, passwordx0 0 the only way to make this work is that the mount-destination is owned by the user who want's to mount. So lars for example can do the mount if /mnt/HeinekenCDROM is owned by lars. As I don't want a speparate mountpoint for each user, how can I solve this the right way. Just like a CD-ROM mount ? The right way is to throw away smbmount and use smbconnect. The problem you are seeing is that mount reads the fstab but doesn't do anything with the entries and just passes them to smbmount. smbmount then does the mount syscall that mounts smbfs, but it doesn't (want to) understand the options mount has and interprets them differently (eg user). smbconnect would mean that mount does the mount syscall, and also all the user/auto/noexec parsing so it would be identical to all other fs'. smbfs then calls smbconnect to get the connection. The only problem with this is that smbconnect only exists on one of my machines and is not very well tested. There are a few other options that may be seen as less experimental: * automount Use autofs or some other automounter. Judging from the mount options you don't care if a user can access the cd some other user mounted. With autofs the following: /etc/auto.master: /mnt/heineken /etc/auto.heineken --timeout=60 /etc/auto.heineken: cdrom -fstype=smbfs,username=x,password=x ://Heineken/CD-ROM would mount the cdrom when someone tried to access /mnt/heineken/cdrom. A potential problem might be what happens when the cd is ejected on the other end. I know I have never tested that ... * setuid root mount_heineken_cdrom Another way to do this is to make a small setuid root program to do this mount. For safety all options should hardcoded into the program. * modify smbmnt The rule that only the user may mount on dirs he owns is implemented in smbmnt. You have the code, change it. Do note that it is a security risk to let users mount things wherever they want ... /Urban
patch to fix ...lang/man* problem with rpm compilation
I think this is the wrong way to fix this but I don't know the right way. diff -r1.23 samba2.spec.tmpl 450,453c456,459 %attr(-,root,root) MANDIR_MACRO/man1/* %attr(-,root,root) MANDIR_MACRO/man5/* %attr(-,root,root) MANDIR_MACRO/man7/* %attr(-,root,root) MANDIR_MACRO/man8/* --- %attr(-,root,root) MANDIR_MACRO/lang/man1/* %attr(-,root,root) MANDIR_MACRO/lang/man5/* %attr(-,root,root) MANDIR_MACRO/lang/man7/* %attr(-,root,root) MANDIR_MACRO/lang/man8/*
Re: Access and Corrupt DB
On Mon, Apr 22, 2002 at 02:02:05PM -0400, William Jojo wrote: It would be from [homes] h:\db#.mdb where # is the attempt number that we did at that time...are you checking the 222 and 223a versions of the logs? Yes, I'm looking at both these logs. The only difference I can see is that in the 2.2.2 log the open for My Documents\db7.mdb succeeds because the file is there, and in the 2.2.3a log it fails as the file is not. Can you completely wipe the profile for this user and just try it (Access) against a Samba 2.2.4pre server that isn't serving profiles as well on a mapped drive that is only serving the shared access db files. That should simplify this log considerably and enable me to find out what the problem is. Can you give me a telephone number and timezone so I can call you about this - it's my last showstopper before 2.2.4 Thanks, Jeremy.
[±¤--°í]¾Æ½Ã¾Æ°Å¸ ¸®¾çÀÇ Å©·¹ÀÌÁöÇнÀ¹ý »ùÇÃ¹Þ°í »çÀºÀÜÄ¡µµ Âü¿©Çϱâ....
Title: Untitled Document O º» ¸ÞÀÏÀº Á¤º¸Åë½Å¸Á ÀÌ¿ëÃËÁø ¹× Á¤º¸º¸È£ µî¿¡ °üÇÑ ¹ý·ü Á¦ 50Á¶¿¡ ÀÇ°ÅÇÑ [±¤°í] ¸ÞÀÏÀÔ´Ï´Ù O e-mailÁÖ¼Ò´Â ÀÎÅͳݻ󿡼 ÃëµæÇÏ¿´À¸¸ç, ÁÖ¼Ò¿Ü ¾î¶°ÇÑ °³ÀÎ Á¤º¸µµ °¡Áö°í ÀÖÁö ¾Ê½À´Ï´Ù O ÇÁ·Î±×·¥ ¹®Á¦»ó 2ȸ ÀÌ»ó ¹ß¼Û µÉ¼ö ÀÖ»ç¿À´Ï ¾çÇØ ¹Ù¶ø´Ï´Ù. O ¼ö½Å°ÅºÎ´Â ¹Ýµå½Ã ¸ÇÇÏ´ÜÀÇ ¼ö½Å°ÅºÎ ¹öÆ°À» Ŭ¸¯ ÇϼžßÇÕ´Ï´Ù. O °³ÀÎÀûÀΠȸ½ÅÀ¸·Î ¼ö½Å°ÅºÎ¸¦ ÇϽøé 󸮰¡ ¾ÈµÉ¼ö ÀÖ»ç¿À´Ï ¹Ýµå½Ã ÇÏ´ÜÀÇ ¼ö½Å°ÅºÎ ¹öÆ°À» Ŭ¸¯Çϼ¼¿ä ¼º ¸í À̸ÞÀÏ ¿ìÆí¹øÈ£ - ÁÖ ¼Ò ÀüȹøÈ£ - - À̵¿Åë½Å - - ±ÍÇÏÀÇ¿µ¾î½Ç·Â »ó Áß ÇÏ Copyright 2001 Cypus co., Ltd. All Rights Reserved. º» ¸ÞÀÏÀº Á¤º¸Åë½ÅºÎ ±Ç°í »çÇ׿¡ ÀÇ°Å Á¦¸ñ¿¡ [±¤°í]¶ó Ç¥½ÃµÈ ±¤°í ¸ÞÀÏÀÔ´Ï´Ù. ¼ö½Å°ÅºÎ ¹öÆ°À» Ŭ¸¯ÇÏ½Ã¸é ¼ö½Å°ÅºÎ󸮰¡ ÀÌ·ç¾î Áý´Ï´Ù.
Re: 2.2.3a-CVS HPUX 10.20 and source/nsswitch/hp_nss_common.h
MCCALL,DON (HP-USA,ex1) wrote: Andrew, Will need the same to the head branch (SAMBA_3_0, I guess, now), so it will compile on HPUX 10.20 as well... Thanks, Don To do that, I would need the patch attached, and it CCed to me. Thanks, Andrew Bartlett, -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
possible bug?
Samba 2.2.1a on mandrake 8.1 configuration with swat Shares that are initially createdthrough swat do not in the file system. You have to go in and create themmanually for example with Konqueror. Shouldn't the shares appear within the file when they are created within swat? Any accuracy to this other than my own trials?
joining machine to domain with ldapsam backend
I'm assuming that talk about samba3 belongs here, please let me know if i should take it to samba I'm trying to join a machine to today's head here is the what I get in the log file - how should we assign an RID to a machine account? do I need to add a special script in the add machine script parameter to make this work? how should we assign an RID to a machine account? [2002/04/23 20:32:53, 2] smbd/reply.c:reply_special(77) netbios connect: name1=BITC name2=TESTPC [2002/04/23 20:32:53, 2] smbd/reply.c:reply_special(96) netbios connect: local=bitc remote=testpc [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:53, 2] auth/auth.c:check_ntlm_password(256) check_password: authenticaion for user [root] - [root] - [root] suceeded [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:54, 2] lib/access.c:check_access(309) Allowed connection from (132.177.45.90) [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:54, 2] smbd/server.c:exit_server(498) Closing connections [2002/04/23 20:32:54, 2] lib/access.c:check_access(309) Allowed connection from (132.177.45.90) [2002/04/23 20:32:54, 2] smbd/reply.c:reply_special(77) netbios connect: name1=BITC name2=TESTPC [2002/04/23 20:32:54, 2] smbd/reply.c:reply_special(96) netbios connect: local=bitc remote=testpc [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:55, 2] auth/auth.c:check_ntlm_password(256) check_password: authenticaion for user [root] - [root] - [root] suceeded [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:55, 2] lib/access.c:check_access(309) Allowed connection from (132.177.45.90) [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:55, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2102) Returning domain sid for domain LAUELAB - S-1-5-21-952143027-1224863391-451646606 [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching
Printing issue: Win2k + 2.2.3a PDC + ldapsam + HP LaserJet 8000driver
This is a data point more than anything else, since I don't really have time to dig into it. I appologize if this is a known issue, I searched and searched for info on it, but couldn't find anything. My setup is this: - Samba 2.2.3a PDC + ldapsam - HP LaserJet 8000 spool via JetDirect from PDC - Network printer driver install via [print$] - Win2k client machines Normal printing works fine, but attempts to change printing properties (ie, orientation, paper feed, etc) fail to work. The printer configuration dialog also contains warnings to the effect of you do not have permission to save system settings on this computer. The issue does not exist using an NT PDC + spooler + network printer install. The workaround is to circumvent Samba and print directly to lpd: - Install the driver on the client machine as a local printer on a LPT port. - After install, bring up the printer properties dialog and create a new port pointing to the PDC's lpr port. The workaround is acceptable for me, so I didn't dig any deeper. Just a bit of info, - Sam