[Samba] German characters for Windows and Linux clients
Hi, I use a central Linux RH 9.0 Server which should serve as a fileserver using SAMBA. But the main issue is, that i have Linux and Windows clients to server !. If i configure the the codepages 850 and the character set ISO8859-1 then the Windows client works fine with his own files, including special german characters like ä or others, but the Linux Workstations are not able to use these files and directories !. What kind of configuration can solve my problem ?. best regards Johannes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] stability
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joel Hammer wrote: | #!/bin/bash | case "$1" in | start) | killall smbd | killall nmbd sleep 5 wouldn't hurt... | /usr/local/samba/bin/smbd -D | /usr/local/samba/bin/nmbd -D | ;; or even something along the lines of: killall smbd killall nmbd for i in 1 2 3 4 5; do ~ ( test ! -z `pidof nmbd` || test ! -z `pidof nmbd` ) && sleep 1 || break ~ test $i = 5 && ( killall -9 nmbd; killall -9 smbd ) done David - -- *** [EMAIL PROTECTED] OpenPGP public key: http://www.amakuru.net/dmorel.asc 28192ef126bc871757cb7d97f4a44536 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+5X6iqr7QF98duCMRAi3GAJ9Y/cAahzQjXWC9hP9K1ny+a5EbcwCgojGS 4o996WAIFZ9C8/vwwOaeUr0= =xdDY -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba3.0beta1 as PDC with LDAP
Martin, something is still a bit unclear. I now attempted to take away my add-machine-account script (basically a useradd followed by a passwd -l) which adds a UNIX account for the machine to the samba server in addition to smbd's own ldap adding entry to ldap server, now it does not work: In the error log I found: [2003/06/10 13:12:10, 5] lib/username.c:Get_Pwnam_internals(251) Get_Pwnam_internals didn't find user [vaio$]! [2003/06/10 13:12:10, 2] passdb/pdb_ldap.c:ldapsam_search_suffix(685) ldapsam_search_suffix: searching for:[(&(uid=vaio$)(objectclass=sambaSamAccount))] [2003/06/10 13:12:10, 5] passdb/pdb_ldap.c:ldapsam_open(457) ldapsam_open: already connected to the LDAP server [2003/06/10 13:12:10, 2] passdb/pdb_ldap.c:ldapsam_search_suffix(685) ldapsam_search_suffix: searching for:[(uid=vaio$)] [2003/06/10 13:12:10, 5] passdb/pdb_ldap.c:ldapsam_open(457) ldapsam_open: already connected to the LDAP server [2003/06/10 13:12:10, 3] passdb/pdb_ldap.c:ldapsam_add_sam_account(2640) Adding new user [2003/06/10 13:12:10, 2] passdb/pdb_ldap.c:init_ldap_from_sam(1908) Setting entry for user: vaio$ [2003/06/10 13:12:10, 0] passdb/pdb_ldap.c:init_ldap_from_sam(1922) NO user RID specified on account vaio$, cannot store! [2003/06/10 13:12:10, 0] passdb/pdb_ldap.c:ldapsam_add_sam_account(2651) ldapsam_add_sam_account: init_ldap_from_sam failed! If I reuse the add machine script param with my script, it works (the UNIX account was added, and smbd's ldap code added the machine's ldap entry to LDAP server). This is exactly what I don't want to have. So apparently ldap does not auto-generate a valid RID and maps to a valid SID for the addition/joining of the machine. I'd like to have a setup that does not do any local UNIX account addition to the samba server, just have LDAP containing all the user/machine information. Can this be done? Pleaes advise. Chee Wai > This follows from the idea that > > rid = (uidNumber * 2) + 1000 > > doesn't it? That's certainly the formula I've used > in alpha24 for root > and general users and it "works for me!" (TM) > > Cheers, > > Martin > > -- > Martin Sapsed > Information Services "Who do you say I > am?" > University of Wales, Bangor Jesus of > Nazareth > > -- > To unsubscribe from this list go to the following > URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba3.0beta1 as PDC with LDAP
Hi, indeed it follows the same rule of rid = (uid * 2) + 1000. I just didn't realise that it applies to root as well (since administrator and nobody/guest are the two exceptions to the rule I thought root would be excepted as well, and weirdly in samba-2.2.8a it allows me to have rid=502 for root which is not following the rule and it still worked). I just added back root's SID = domainSID-1000 and tried again (without the smbpasswd file), and it WORKED! Thanks much for the help! --- Martin Sapsed <[EMAIL PROTECTED]> wrote: > Hannu Tikka wrote: > This follows from the idea that > > rid = (uidNumber * 2) + 1000 > > doesn't it? That's certainly the formula I've used > in alpha24 for root > and general users and it "works for me!" (TM) > > Cheers, > > Martin > > -- > Martin Sapsed > Information Services "Who do you say I > am?" > University of Wales, Bangor Jesus of > Nazareth > > -- > To unsubscribe from this list go to the following > URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Diagnosis Test 8 Fails only with computer name,however IP address works
Hi all I am trying to debug my samba setup on a linux box running Redhat 7.3, samba 2.2.8a, and we have a Windows 2000 domain controller. I can only access my samba server using its ip address. So for example when I perform Test 8 in the diagnosis.txt I get this: c:\> net view \\mysmbserver System error 5 has occorred. Access is denied. In contrast, if I use the ip address I get: c:\> net view \\10.10.10.65 Shared resources at \\10.10.10.65 MySmbServer Share nameTypeUsed asComment myshareDiskA test share for me The command completed successfully. So in other words if I use the IP address every works fine and normal just like all the other samba servers on my network. We have a Windows 2000 Controller which does our DNS and DHCP. What could be going on here? This is the only samba server that does this on my network. Thanks in advance E -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Diagnosis Test 8 Fails only with computer,however IP addr works.
Hi all I am trying to debug my samba setup on a linux box running Redhat 7.3, samba 2.2.8a, and we have a Windows 2000 domain controller. I can only access my samba server using its ip address. So for example when I perform Test 8 in the diagnosis.txt I get this: c:\> net view \\mysmbserver System error 5 has occorred. Access is denied. In contrast, if I use the ip address I get: c:\> net view \\10.10.10.65 Shared resources at \\10.10.10.65 MySmbServer Share nameTypeUsed asComment myshareDiskA test share for me The command completed successfully. So in other words if I use the IP address every works fine and normal just like all the other samba servers on my network. We have a Windows 2000 Controller which does our DNS and DHCP. What could be going on here? This is the only samba server that does this on my network. Thanks in advance E -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] browse list error
My network has a linux machine (epsilon) and a windows 2000 machine (zeta) smbclient -L zeta typed on epsilon gives an error for the sharenames: "Error returning browse list: NT_STATUS_ACCESS_DENIED." What does this mean, and how can I get rid of it, Thanks, Phil -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba3.0beta1 as PDC with LDAP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 9 Jun 2003, Chee Wai Yeung wrote: > I finally got Samba-3.0beta1 as PDC with LDAP backend. > However, I need to specify: > > passdb backend = ldapsam smbpasswd:smbpasswd guest > > and have the root account's exists in smbpasswd file. > I still could not get a uid=root entry in LDAP to > allow client workstation to join the domain. > > When in samba-2.2.8a I could use a fake rid=506 with > uidNumber=0 entry in LDAP (as a SambaAccount) and it > worked fine. But even after converting this entry to > SambaSamAccount object with Jerry's conversambaAccount > script it would not allow client machines to join the > domain. > > Has anyone got a full LDAP based Samba PDC working > without the need to have a fallback smbpasswd for the > root account? What SambaSID will work for a root > account that allows client workstations to join the > domain? It was working fine during my regressions tests. I'll take another look though. cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+5U8yIR7qMdg1EfYRAmq5AKC8n/eIK9C6gXiuPLaLXVkUKcVVuACfSrUk +vuV5SUeURpjhI70OUxezKk= =s18z -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Compiling 3.0.0beta1
Preface, running redhat 8.0 (pretty standard and up2date) [atlantis 158] uname -a Linux atlantis.cs.umd.edu 2.4.18-27.8.0 #1 Fri Mar 14 06:45:49 EST 2003 i686 i686 i386 GNU/Linux [atlantis 159] gcc --version gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I am getting wierd errors trying to compile 3.0b1, and getting here and it is dying, Linking bin/smbd tdb/tdbutil.o: In function `tdb_search_keys': /tmp/samba-3.0.0beta1/source/tdb/tdbutil.c:791: undefined reference to `ap_fnmatch' collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 ap_fnmatch is an apache thing as far as I can find, why is smbd linking against it? This is just a straight ./confiure --prefix=/opt/samba-3.0.0b1 No wierd CPPFLAGS,LDFLAGS or any other environmental variables. -- --- Derek T. Yarnell University of Maryland Computer Science Department Unix Staff [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printing problem with samba and cups
Ernesto Antonio Lira Castro lira at terared.com wrote on Samba-Digest: Mon Jun 9 13:25:00 GMT 2003 I have installed samba 3.0alpha20 and cups-1.1.18 on a freebsd 4.8 box. After reading all the documentation that samba provides as well as the cups administrators guide I am still stuck. Hi, Ernesto, you asked the same question over at the cups.org mailing list. You've received two valid answers there. I would agree with both. Have you seen them? Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] update encypted and LDAP
On Tue, 2003-06-10 at 02:13, Martin Sapsed wrote: > Hello all, > > I'm currently trying out samba-3.0alpha24 and moving to samba-3.0.0beta1 > since we're getting into XP and encrypted passwords etc. I was hoping to > set everyone (about 13,000 users) up on an LDAP (openLDAP) server with > just the Unix crypt passwords for now and run with > > encrypt passwords = no > update encrypted = yes > > for a while to populate the NT/LM password hashes before going over to > encrypted passwords for everyone. (Most clients are Win 9x using plain > text passwords against NIS at the moment.) > > From what I can see and have gathered from some searching, it looks > like "update encrypted" only works with an smbpasswd file. Is this the > case? The code routines call the passdb backend, whatever that may be. 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 signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Driver Download with Foomatic-PPDs: Win2K Client says"Device settingscannot be displayed" if PPD's TranslationString longer than 40 chars
Hi, Samba list readers, I am forwarding these mails from one of the Linuxprinting.org lists to you (with the $SUBJECT changed by me), because surely some of you must have been bitten by this too This problem is verified on W2K (but not yet for NT/ME/XP/9x). Cheers, Kurt # problem description by Elena Khan Original Message To: [EMAIL PROTECTED] Subject: [lp.hp] ppd problem - samba - w2k - oj g95 Sender: [EMAIL PROTECTED] Date: Mon, 9 Jun 2003 20:22:48 + (UTC) Hello, I'd like to report that the ppd for the Office Jet G95 needs to be edited before w2k machines can use them. I didn't see this problem mentioned in the newsgroups, so I hope that (1) I'm not reposting a known problem and (2) this is the right place to report it. Here's the history: We've got a cups/samba setup and are using the automatic driver download/install on the samba side. We can print successfully from the cups server (solaris) to the OfficeJet. On the windows side, the drivers (seemed to) download fine to my w2k machine. After downloading, though, when I clicked the Properties option, I would receive the "Device settings cannot be displayed. The driver for the specified printer is not installed ..." error message. But, I knew that the driver was installed b/c: (1) the cups log file (at level "debug2") showed that the client's download was successful (2) on the w2k machine, the entry for the printer was present in the registry at HKLM\System\ControlSet001\Control\Print\Environments\Windows NT x86\Drivers\Version-2\office_jet_g95 and (3) the ppd file was present in c:\winnt\system32\spool\drivers\w32x86\2 Furthermore, I knew that the driver/ppd was the problem because when I replaced it with the deskjet.ppd that came with cups, I no longer received the error message (in other words, I could see the printer properties). I found the problem in the "*OpenUI *Quality" section. There are 8 lines in the section whose TranslationString (the text between the backslash and the colon) is over 40 characters long: 1. *OpenUI *Quality/Resolution, Quality, Ink Type, Media Type: PickOne 2. *Quality 300BestColorCMYK/300 dpi, Best, Color, Black + Color Cartr.: 3. *Quality 300DraftColorCMYK/300 dpi, Draft, Color, Black + Color Cartr.: 4. *Quality 300DraftGrayscaleCMYK/300 dpi, Draft, Grayscale, Black + Color Cartr.: 5. *Quality 300PhotoCMYK/300 dpi, Photo, Black + Color Cartr., Photo Paper: 6. *Quality 600BestColorCMYK/600 dpi, Best, Color, Black + Color Cartr.: 7. *Quality 600PhotoCMYK/600 dpi, Photo, Black + Color Cartr., Photo Paper: 8. *Quality 1200PhotoCMYK/1200 dpi, Photo, Black + Color Cartr., Photo Paper: After editing the file in order to get each string at or below 40 characters, the ppd file worked (I no longer received the error message, I could open the printer properties without problem and I could print). It seems that this is only a problem with w2k machines (i.e., there is no problem with our solaris server using the ppd). I've verified this behavior on 2 w2k machines. I haven't tested xp/nt/98. -Elena ___ Hp-list mailing list [EMAIL PROTECTED] http://www.linuxprinting.org/cgi-bin/mailman/listinfo/hp-list # Grant Taylor's answer ### [EMAIL PROTECTED] (Elena Khan) writes: >> I found the problem in the "*OpenUI *Quality" section. There are 8 >> lines in the section whose TranslationString (the text between the >> backslash and the colon) is over 40 characters long: >>1. *OpenUI *Quality/Resolution, Quality, Ink Type, Media Type: PickOne [...] >> After editing the file in order to get each string at or below 40 >> characters, the ppd file worked (I no longer received the error >> message, I could open the printer properties without problem and I >> could print). >> It seems that this is only a problem with w2k machines (i.e., there >> is no problem with our solaris server using the ppd). I've verified >> this behavior on 2 w2k machines. I haven't tested xp/nt/98. Hrm. The PPD spec quite specifically states that Option and several other flavors of string are no more than 40 chars. It does not, however, appear to specify a maximum length for Translation strings (aside from the line max of 255, I guess). Respinning those strings in <= 40 bytes will be unpleasant. Till and I will have to smoke this one over when he gets back... -- Grant Taylor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
re[3]: [Samba] PDC error; can not open passdb database
I checked the permissions and they are now what you said. I remember reading that somewhere in one of the last tries at this PDC setup. I tried it and still Access denied with the same error. I do not know if this is good or not but I am M$ illiterate. I created a root/admin account and it joined. It was that windows needed a admin account. I am sure I would have been here looking for the answers you supplied later then sooner. So... thanks John. Karl- >> On Mon, 9 Jun 2003, Karl Banasky wrote: >> > I did not use the "-a" on originally. I used it and same thing, access >> denied. I have increased the log to 2 and here is the complete >> transaction. >> > >> > [2003/06/09 13:38:24, 2] smbd/server.c:exit_server(511) >> > Closing connections >> > [2003/06/09 13:38:25, 2] >> rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050) >> > Returning domain sid for domain HCSTEST -> >> S-1-5-21-4123070808-3853918392-2400374137 >> > [2003/06/09 13:38:25, 2] >> rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285) >> > samr_io_userinfo_ctr: unknown switch level 0x1a >> > [2003/06/09 13:38:25, 0] >> rpc_server/srv_samr.c:api_samr_set_userinfo(670) >> > api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. >> > [2003/06/09 13:38:25, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170) >> > startsmbfilepwent_internal: unable to open file >> /etc/samba.d/smbpasswd. Error was Permission denied >> > [2003/06/09 13:38:25, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418) >> > unable to open passdb database. >> > [2003/06/09 13:38:25, 2] smbd/server.c:exit_server(511) >> > Closing connections >> > ~ >> > >> > I am using SAMBA 2.2.8a. I will attach my smb.conf file at the end of >> > this email. I have done the signorseal patch too with a reboot with no >> > results. Any further thoughts? Thanks. >> Have you checked: >> 1) That you have a file /etc/samba.d/smbpasswd? >> 2) What are the permissions on it? >> - should be -rwxr >> 3) What are the permissions on /etc/samba.d (directory)? >> - should be -rwxrwxr-x >> The error messaage says that smbpasswd was denied access to the file >> /etc/samba.d/smbpasswd. That is an issue of file system permissions, not a >> samba problem. >> Were you trying to access this as root or as some other user. Only root >> has the ability to modify this file. >> - John T. >> > >> > Karl- >> > >> > >> > >> Karl, >> > >> > >> What version of samba are you running? >> > >> > >> Did you do (for each user)? >> > >> > >> smbpasswd -a 'username' >> > >> > >> - John T. >> > >> > >> > >> On Mon, 9 Jun 2003, Karl Banasky wrote: >> > >> > >> > I am looking to setup a domain server. I have tried and tried >> and this >> > >> is the closest I have gotten so far. >> > >> > The main problem I have is in the user authentication. I am >> getting an >> > >> error that the user or password is wrong. Currently it looks like >> Samba >> > >> can not access the passwd file. What is this file? >> > >> > >> > >> > My log for the client give this error: >> > >> > >> > >> > [2003/06/05 15:35:35, 0] >> > >> rpc_server/srv_samr.c:api_samr_set_userinfo(670) >> > >> > api_samr_set_userinfo: Unable to unmarshall >> SAMR_Q_SET_USERINFO. >> > >> > [2003/06/05 15:35:35, 0] >> > >> passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418) >> > >> > unable to open passdb database. >> > >> > >> > >> > I am running Caldera 3.1.1 >> > >> > I compiled samba with the "makerpms" for Caldera (I pray this >> will >> > >> always work; as for the "build with" I have no Idea) >> > >> > >> > >> > Any Ideas? If there is any info you need please let me know. >> > >> > And SAMBA rock! >> > >> > Thanks. >> > >> > >> > >> > Karl Banasky >> > >> > Email [EMAIL PROTECTED] >> > >> > >> > >> > -- >> > >> > To unsubscribe from this list go to the following URL and read >> the >> > >> > instructions: http://lists.samba.org/mailman/listinfo/samba >> > >> > >> > >> > >> -- >> > >> John H Terpstra >> > >> Email: [EMAIL PROTECTED] >> > >> > >> > smb.conf: >> > >> > [global] >> > netbios name = HCTEST >> > workgroup = HCSTEST >> > server string = Test Samba Server >> > #hosts allow = 192.168.200. 127. >> > passdb backend = smbpasswd >> > encrypt passwords = Yes >> > obey pam restrictions = no >> > password level = 8 >> > username level = 8 >> > security = user >> > #lock directory = /share/test/lock >> > log file = /var/log/samba.d/smb.%m >> > max log size = 200 >> > log level = 2 >> > level2 oplocks = No >> > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF
re[2]: [Samba] PDC error; can not open passdb database
On Mon, 9 Jun 2003, Karl Banasky wrote: > I did not use the "-a" on originally. I used it and same thing, access denied. I > have increased the log to 2 and here is the complete transaction. > > [2003/06/09 13:38:24, 2] smbd/server.c:exit_server(511) > Closing connections > [2003/06/09 13:38:25, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050) > Returning domain sid for domain HCSTEST -> > S-1-5-21-4123070808-3853918392-2400374137 > [2003/06/09 13:38:25, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285) > samr_io_userinfo_ctr: unknown switch level 0x1a > [2003/06/09 13:38:25, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) > api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. > [2003/06/09 13:38:25, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170) > startsmbfilepwent_internal: unable to open file /etc/samba.d/smbpasswd. Error was > Permission denied > [2003/06/09 13:38:25, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418) > unable to open passdb database. > [2003/06/09 13:38:25, 2] smbd/server.c:exit_server(511) > Closing connections > ~ > > I am using SAMBA 2.2.8a. I will attach my smb.conf file at the end of > this email. I have done the signorseal patch too with a reboot with no > results. Any further thoughts? Thanks. Have you checked: 1) That you have a file /etc/samba.d/smbpasswd? 2) What are the permissions on it? - should be -rwxr 3) What are the permissions on /etc/samba.d (directory)? - should be -rwxrwxr-x The error messaage says that smbpasswd was denied access to the file /etc/samba.d/smbpasswd. That is an issue of file system permissions, not a samba problem. Were you trying to access this as root or as some other user. Only root has the ability to modify this file. - John T. > > Karl- > > > >> Karl, > > >> What version of samba are you running? > > >> Did you do (for each user)? > > >> smbpasswd -a 'username' > > >> - John T. > > > >> On Mon, 9 Jun 2003, Karl Banasky wrote: > > >> > I am looking to setup a domain server. I have tried and tried and this > >> is the closest I have gotten so far. > >> > The main problem I have is in the user authentication. I am getting an > >> error that the user or password is wrong. Currently it looks like Samba > >> can not access the passwd file. What is this file? > >> > > >> > My log for the client give this error: > >> > > >> > [2003/06/05 15:35:35, 0] > >> rpc_server/srv_samr.c:api_samr_set_userinfo(670) > >> > api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. > >> > [2003/06/05 15:35:35, 0] > >> passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418) > >> > unable to open passdb database. > >> > > >> > I am running Caldera 3.1.1 > >> > I compiled samba with the "makerpms" for Caldera (I pray this will > >> always work; as for the "build with" I have no Idea) > >> > > >> > Any Ideas? If there is any info you need please let me know. > >> > And SAMBA rock! > >> > Thanks. > >> > > >> > Karl Banasky > >> > Email [EMAIL PROTECTED] > >> > > >> > -- > >> > To unsubscribe from this list go to the following URL and read the > >> > instructions: http://lists.samba.org/mailman/listinfo/samba > >> > > > >> -- > >> John H Terpstra > >> Email: [EMAIL PROTECTED] > > > smb.conf: > > [global] > netbios name = HCTEST > workgroup = HCSTEST > server string = Test Samba Server > #hosts allow = 192.168.200. 127. > passdb backend = smbpasswd > encrypt passwords = Yes > obey pam restrictions = no > password level = 8 > username level = 8 > security = user > #lock directory = /share/test/lock > log file = /var/log/samba.d/smb.%m > max log size = 200 > log level = 2 > level2 oplocks = No > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > logon path = \\%L\Profiles\%U > logon home = \\%L\Profiles\%U > logon script = logon.bat > dns proxy = No > name resolve order = wins lmhosts bcast > domain master = yes > domain logons = yes > domain admin group = @admins > #wins support = yes > wins server = 192.168.200.2 > printer admin = karl > printing = cups > printcap name = lpstat > load printers = yes > os level = 70 > oplocks = No > level2 oplocks = No > dos filetimes = Yes > dos filetime resolution = Yes > #map to guest = Bad user > > #add user script = /usr/sbin/useradd -s /bin/false %u && /usr/bin/smbpasswd > -a %u > #add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false > -M %u && /usr/bin/smbpasswd -m -a %u > #unix password sync = yes > #passwd program = /usr/bin/passwd %u > #passwd chat = \ > #*password* %n\n \ > #*password* %
re[2]: [Samba] PDC error; can not open passdb database
I did not use the "-a" on originally. I used it and same thing, access denied. I have increased the log to 2 and here is the complete transaction. [2003/06/09 13:38:24, 2] smbd/server.c:exit_server(511) Closing connections [2003/06/09 13:38:25, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050) Returning domain sid for domain HCSTEST -> S-1-5-21-4123070808-3853918392-2400374137 [2003/06/09 13:38:25, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285) samr_io_userinfo_ctr: unknown switch level 0x1a [2003/06/09 13:38:25, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. [2003/06/09 13:38:25, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170) startsmbfilepwent_internal: unable to open file /etc/samba.d/smbpasswd. Error was Permission denied [2003/06/09 13:38:25, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418) unable to open passdb database. [2003/06/09 13:38:25, 2] smbd/server.c:exit_server(511) Closing connections ~ I am using SAMBA 2.2.8a. I will attach my smb.conf file at the end of this email. I have done the signorseal patch too with a reboot with no results. Any further thoughts? Thanks. Karl- >> Karl, >> What version of samba are you running? >> Did you do (for each user)? >> smbpasswd -a 'username' >> - John T. >> On Mon, 9 Jun 2003, Karl Banasky wrote: >> > I am looking to setup a domain server. I have tried and tried and this >> is the closest I have gotten so far. >> > The main problem I have is in the user authentication. I am getting an >> error that the user or password is wrong. Currently it looks like Samba >> can not access the passwd file. What is this file? >> > >> > My log for the client give this error: >> > >> > [2003/06/05 15:35:35, 0] >> rpc_server/srv_samr.c:api_samr_set_userinfo(670) >> > api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. >> > [2003/06/05 15:35:35, 0] >> passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418) >> > unable to open passdb database. >> > >> > I am running Caldera 3.1.1 >> > I compiled samba with the "makerpms" for Caldera (I pray this will >> always work; as for the "build with" I have no Idea) >> > >> > Any Ideas? If there is any info you need please let me know. >> > And SAMBA rock! >> > Thanks. >> > >> > Karl Banasky >> > Email [EMAIL PROTECTED] >> > >> > -- >> > To unsubscribe from this list go to the following URL and read the >> > instructions: http://lists.samba.org/mailman/listinfo/samba >> > >> -- >> John H Terpstra >> Email: [EMAIL PROTECTED] smb.conf: [global] netbios name = HCTEST workgroup = HCSTEST server string = Test Samba Server #hosts allow = 192.168.200. 127. passdb backend = smbpasswd encrypt passwords = Yes obey pam restrictions = no password level = 8 username level = 8 security = user #lock directory = /share/test/lock log file = /var/log/samba.d/smb.%m max log size = 200 log level = 2 level2 oplocks = No socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 logon path = \\%L\Profiles\%U logon home = \\%L\Profiles\%U logon script = logon.bat dns proxy = No name resolve order = wins lmhosts bcast domain master = yes domain logons = yes domain admin group = @admins #wins support = yes wins server = 192.168.200.2 printer admin = karl printing = cups printcap name = lpstat load printers = yes os level = 70 oplocks = No level2 oplocks = No dos filetimes = Yes dos filetime resolution = Yes #map to guest = Bad user #add user script = /usr/sbin/useradd -s /bin/false %u && /usr/bin/smbpasswd -a %u #add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u && /usr/bin/smbpasswd -m -a %u #unix password sync = yes #passwd program = /usr/bin/passwd %u #passwd chat = \ #*password* %n\n \ #*password* %n\n \ #*successful* [MyHome] comment = Home Directories path = %H/Samba username = %S valid users = %S read only = No directory mode = 0700 create mode = 0600 only user = Yes dos filetimes = yes [sharedir] comment = Public Stuff path = /share/public force group = users read only = No force create mode = 0770 force directory mode = 0770 level2 oplocks = no dos filetimes = yes [CD-ROM] path = /mnt/cdrom read only = yes browseable = yes root preexec = mount /mnt/cdrom root postexec = umount /mnt/cdrom [print$] comment = Printer Drivers path = /etc/samba.d/drivers
Re: [Samba] PDC error; can not open passdb database
Karl, What version of samba are you running? Did you do (for each user)? smbpasswd -a 'username' - John T. On Mon, 9 Jun 2003, Karl Banasky wrote: > I am looking to setup a domain server. I have tried and tried and this is the > closest I have gotten so far. > The main problem I have is in the user authentication. I am getting an error that > the user or password is wrong. Currently it looks like Samba can not access the > passwd file. What is this file? > > My log for the client give this error: > > [2003/06/05 15:35:35, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) > api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. > [2003/06/05 15:35:35, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418) > unable to open passdb database. > > I am running Caldera 3.1.1 > I compiled samba with the "makerpms" for Caldera (I pray this will always work; as > for the "build with" I have no Idea) > > Any Ideas? If there is any info you need please let me know. > And SAMBA rock! > Thanks. > > Karl Banasky > Email [EMAIL PROTECTED] > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] No umlauts in filenames
My samba setup cannot handle files whose names contain german umlauts (äüöß). The server is samba 2.2.8a-1 on Redhat 8.0 (from the binary RPM from the samba site), the client is running WinXP Home Edition. When I create a file whose filename contains umlauts on the samba share from the WinXP machine, the filename is displayed with question marks instead of the umlauts by ls on the linux machine, and nautilus appends "(invalid Unicode)" to the filename when I open the folder. Files which are created on the linux box with umlauts in their names are not visible on the XP machine. the options from my smb.conf are: character set=iso8859-1 client code page=850 Is there a way to do this without upgrading to a 3.0 beta? Thanks in advance Thomas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printing problem with samba and cups
I have installed samba 3.0alpha20 and cups-1.1.18 on a freebsd 4.8 box. After reading all the documentation that samba provides as well as the cups administrators guide I am still stuck. I can print at the moment OK from my freebsd box to my network printer using cups, i can print from the shell and from a GUI (GNOME). I also have a professional w2k as a client and i want to print in my network printer via Samba Server, the weird thing is that i can print OK from my w2k client but in my w2k printer status stay Opening for a while and ends sending to the printer status header "Error to print, try new" and in my samba log file i can see this error message "yield_connection: tdb_delete for name failed with error Record does not exist" I dont know what to do, im feel free to ask for a opinion, i hope for help! i only post my samba configuration file to give you some idea about the some possible error because i dont think that the problem is my cups configuration file! [global] workgroup = RESVER netbios name = AEP-PERFORACION server string = Servidor Papaloapan - Perforacion hosts allow = 142.111. 127. security = share log level = 5 log file = /home/sambalog/log.%m max log size = 50 deadtime = 15 lpq cache time = 30 max disk size = 15360 dns proxy = No printable = yes load printers = yes printing = cups printcap name = cups use client driver = yes [printers] comment = Todas las impresoras path = /var/spool/samba browseable = no public = yes guest ok = yes writable = no printer admin = root, aresver printable = yes [intercambio] comment = Directorio de Intercambio AEP-Perforacion path = /home/usuario/intercambio read only = No guest ok = true strict allocate = Yes printable = No hide special files = Yes Thanks Best Regards Ernesto Lira -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copyright problem cp936.txt?
On Tue, Jun 10, 2003 at 12:16:38AM +0800, »ÆÄþ wrote: > hi,all, > I found a line in cp936.txt, > Contact: [EMAIL PROTECTED] > So is there a copy right problem about samba distribution with this file? > Thanks. > Best Regards > Harrison No I don't think so. This was from the UNICODE web site, and someone from Microsoft happened to contribute. They are not claiming copyright on this file. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] PDC error; can not open passdb database
I am looking to setup a domain server. I have tried and tried and this is the closest I have gotten so far. The main problem I have is in the user authentication. I am getting an error that the user or password is wrong. Currently it looks like Samba can not access the passwd file. What is this file? My log for the client give this error: [2003/06/05 15:35:35, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. [2003/06/05 15:35:35, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418) unable to open passdb database. I am running Caldera 3.1.1 I compiled samba with the "makerpms" for Caldera (I pray this will always work; as for the "build with" I have no Idea) Any Ideas? If there is any info you need please let me know. And SAMBA rock! Thanks. Karl Banasky Email [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 + OpenBSD VPN
I am cross-posting this to openbsd-pf because I am at a complete loss and don't know where the problem lies. I have a OpenBSD ipsec vpn setup between several node sites and one central site. For the most part it seems they are setup fine (isakmpd, pf etc). I can ping, I can do all sorts of nice things over the network. The problem appears when I try to use samba over the vpn. Sometimes, I can login to a server (using smbclient) and there is no problem. Other times, I get this: # smbclient //linux1/public added interface ip=192.168.2.1 bcast=192.168.2.255 nmask=255.255.255.0 Got a positive name query response from 192.168.1.6 ( 192.168.1.6 ) Password: Domain=[ABC] OS=[Unix] Server=[Samba 2.2.8a] smb: \> ls SUCCESS - 0 listing \* Error in dskattr: SUCCESS - 0 smb: \> Memory fault (core dumped) I know it looks like I am connecting from the firewall itself, which should be a no-no, but the result is the same from a host behind it. What makes this so strange, is that there is no apparent cause of failure or success. I was almost sure that it was a pf issue that was dropping some UDP packets, but I have watched the pflog and that doesn't seem to be the case, especially because it works sometimes. Does anyone have any insight into this? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba+CUPS+Drivers autodownload
>> Your problem is trivial, Matt, but you're not doing .. >:-) > >I eventually found the problem. Another admin had >helpfully changed the "share = " setting from user >to share for some reason which I'm currently trying >to extract out of him. Changing it back to user and >everything works okay with just your bugfixes (or >equivalent). I guess you mean changed "security = user" to "security = share". Duh! Short of peeking in "smb.conf" you can infer that kind of error only with server logs :-) Glad you found the bugger, erm, the bug. Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Large site installation
Hi, I would like to share my experiance as it was gained in post production where we beat our equipment to death!!! Ok; a) determine site requirments b) determine budget c) establish install time d) predict hidden costs e) revise budget You are in a way, project managing this stuff so its very key that you get it right. What I found; Back when 10/100 was the shiznit, a couple of DAS served via Samba&NFS and distro'd the data for both load balacing and some form of redundancy. This distro'd both network and disk i/o. The network was the bottle neck here. Now, gig e is cheap and the burden has moved to disk i/o. Even when I distro amongst several 1TB servers, I am getting 50% network utilization while file access slows. This means that my Raids (DAS; Linux, SGI-XFS, Samba/NFS, discreeet IDE Raid subsystem to SCSI Ultra 160) are saturated i/o wise. To fix this, I must either redo my Raids so I have many more smaller disks (more spindles working) or get a NAS like a NetApp. I understand NetApp can go wire speed so this means that 50% network util means 50% disk util. Hope this helps you. Bri- PS The DAS approach is "a lot" more work in that I must maintain the OS, the IDE subsystem and the SCSI interface not to mention keep track of the distro'd data via Dfs for Win clients and autofs&symlinks for Unix clients. Look into NAS. The cost for either approach is about the same in terms of wether its all upfront or spread over time in terms of manitanance/headaches/etc... The advantage is peace of mind that a NAS buys you in that one can build a very robust DAS. __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Homes Directory
I am trying to get the homes directory working. [homes] path = /u01/homes/%S user = %S read only = no browseable = No writeable = yes guest ok = no If I create the directory then this seems to work fine. i.e. mkdir /u01/homes/user1 chown user1 /u01/homes/user1 However if I try to access it with a user that I didnt create a dir by hand it tells me its not accessable i.e. \\sambaserver\user2 Is there a way to have samba create this directory on its own so that I don't have to create all the directories myself. Thanks! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Preservation of short and long filenames in Windows 9x withSamba
I have combed the Internet for an answer to this question and I have not found it. Here's the problem. As some may know, trying to copy files with xcopy32/explorer on a Windows machine to another drive or other Windows machine DOES NOT imply that both long and short filenames will be copied exactly. eg. long filename : thisisalongfilename.txt (in Windows) short filename: THISIS~1.TXT (at the DOS command prompt) >From what I have seen, if a file is copied in Windows from one drive to another the nomenclature of both long and short filenames is preserved as long as complete directories are copied at once. The same is true if done over a network. I think the reason why this works is because the files are copied EXACTLY in the order they were created. Thus if we have the case of two filenames where: long filename : thisisalongfilename1.txt (in Windows) short filename: THISIS~1.TXT (at the DOS command prompt) long filename : thisisalongfilename2.txt (in Windows) short filename: THISIS~2.TXT (at the DOS command prompt) if the combination of thisisalongfilename1.txt/THISIS~1.TXT is copied first it will have exactly the same name on the destination drive. Likewise if the combination thisisalongfilename2.txt/THISIS~2.TXT is copied first the filenames on the destination will be WRONG! ie thisisalongfilename2.txt/THISIS~1.TXT. Note that the difference, THISIS~1.TXT should be THISIS~2.TXT. You can try this on a Windows machine to see how this works as indicated here. In my experience the combination will be copied EXACTLY as long as complete directories are copied. The question is how does SAMBA insure that the both long and short filenames are preserved exactly? This is not a frivolous question as I do not know whether/how SAMBA copies/stores both long and short filenames. Likewise any backup of a Windows directory on a Windows machine, if the files are not copied/restored in EXACTLY the same order they were created will be corrupt. (Trust me I have done this hundreds of times!) If you don't believe me look at the Windows registry to find all the short filenames embedded within!! I think that if a Windows machine sends files to the SAMBA machine the nomenclature should be preserved? But what is unclear is that since SAMBA is running a completely different operating system whether a directory request made from the Linux machine would be such that that it would mimic exactly the DOS/Windows request? The reason for this concern is for backing up entire Windows systems on a Linux machine. Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba3.0beta1 as PDC with LDAP
Hannu Tikka wrote: > I finally got Samba-3.0beta1 as PDC with LDAP backend. > However, I need to specify: > > passdb backend = ldapsam smbpasswd:smbpasswd guest > > and have the root account's exists in smbpasswd file. > I still could not get a uid=root entry in LDAP to > allow client workstation to join the domain. > > When in samba-2.2.8a I could use a fake rid=506 with > uidNumber=0 entry in LDAP (as a SambaAccount) and it > worked fine. But even after converting this entry to > SambaSamAccount object with Jerry's conversambaAccount > script it would not allow client machines to join the > domain. > > Has anyone got a full LDAP based Samba PDC working > without the need to have a fallback smbpasswd for the > root account? What SambaSID will work for a root > account that allows client workstations to join the > domain? With pdbedit -L you can see rid's. I used it and got rid 0 with sambaSID: -1000. It might be that I have somewhere declared that SID's start at 1000 but I didn't found it in smb.conf so it might be default. This follows from the idea that rid = (uidNumber * 2) + 1000 doesn't it? That's certainly the formula I've used in alpha24 for root and general users and it "works for me!" (TM) Cheers, Martin -- Martin Sapsed Information Services "Who do you say I am?" University of Wales, Bangor Jesus of Nazareth -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Copyright problem cp936.txt?
hi,all, I found a line in cp936.txt, Contact: [EMAIL PROTECTED] So is there a copy right problem about samba distribution with this file? Thanks. Best Regards Harrison -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] update encypted and LDAP
Hello all, I'm currently trying out samba-3.0alpha24 and moving to samba-3.0.0beta1 since we're getting into XP and encrypted passwords etc. I was hoping to set everyone (about 13,000 users) up on an LDAP (openLDAP) server with just the Unix crypt passwords for now and run with encrypt passwords = no update encrypted = yes for a while to populate the NT/LM password hashes before going over to encrypted passwords for everyone. (Most clients are Win 9x using plain text passwords against NIS at the moment.) From what I can see and have gathered from some searching, it looks like "update encrypted" only works with an smbpasswd file. Is this the case? If so, has anyone out there tried living with a 13,000 line smbpasswd file for any length of time?? Servers are Sun Solaris 9 and Linux Debian Stable if that matters. Cheers, Martin -- Martin Sapsed Information Services "Who do you say I am?" University of Wales, Bangor Jesus of Nazareth -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Server as Win App Server
On Mon, 9 Jun 2003, Benilton de Sa Carvalho wrote: > Hello, > > I'd like to know if it is possible to set up a Samba Server to act as a MS > Windows application server in a such way that Windows clients can install > and use the applications installed on the samba server. Yes. To do so you need to install the MS Windows applications into an Administrative share. Follow the MS Office et al. procedures for doing this. The Samba server will have to be configured as a domain member server, or as a domain controller. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Quickbooks revisited
I did testing on generating this report from a 130 MB Quickbooks file. Locally, 15 seconds. Samba Server, 1:35. Shared off of my win98 Workstation, 2+ mins. I do not understand the reason it is SOO slow. I know it is a fairly large file. The only explanation I can come up with is the way QuickBooks is accessing the files. Maybe jumping all around the file, requiring many operations on the file. Can anyone explain this? Opening the Check Register is horrendously slow, generating reports is slow. Its all around SLOW. I Know QB is slow, but its not this bad. Thanks In advance, Brandon -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Multiple domains
On Mon, 9 Jun 2003, Benilton de Sa Carvalho wrote: > Hi all, > > is it possible to set up samba to act as PDC for multiple domains? Yes, but only by running separate instances of smbd, each bound to it's own IP address/es and each with it's own config and control files. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printsharing and Drivers for 2000/98/95
Hi All, I'm attempting to set up print-sharing on a Samba 2.2.7 running on Redhat 7.3. Both 98 and 2000 clients can print fine and dandy if I install the drivers I downloaded from HP (I'm using a LaserJet 5MP for reference). What I want to do is install the drivers to the Linux box so future clients can download the drivers painlessly. I believe I've followed the instructions in the current Samba HowTo manual correctly, but perhaps not. When I browse my server computer (from W2K as root), I double-click the printer listing, and then right-click and go to properties. Click no for the message "Device settings cannot be displayed. The driver for the specified printer is not installed. Only spooler properties will be displayed. Do you want to install a driver now?" Go to sharing, additional drivers, and then highlight both "Windows 2000" and "Windows 95 or 98". Click "ok", and then I get an error message saying "Unable to install Intel, Windows 2000 driver. Operation could not be completed." Then a similar one pops up for 95/98. The relevant error message in my samba.log file is as follows: [2003/06/09 10:17:17, 0] smbd/service.c:make_connection(251) cns-dank (143.195.4.178) couldn't find service id [2003/06/09 10:17:17, 0] smbd/service.c:make_connection(251) cns-dank (143.195.4.178) couldn't find service id [2003/06/09 10:48:50, 0] rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(134) connect_to_client: machine CNS-DANK rejected the tconX on the IPC$ share. Error was : NT_STATUS_ACCESS_DENIED. [2003/06/09 10:48:50, 0] smbd/service.c:make_connection(251) cns-dank (143.195.4.178) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d} I'm almost positive my [print$] share is set up correctly - it has write access for root and the directories are set up properly. Permissions should be okay because I can create directories from the client computers with no problems. Any light you all could shed on the problem would be much appreciated. Thanks! - Do you Yahoo!? Free online calendar with sync to Outlook(TM). -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Server as Win App Server
Hello, I'd like to know if it is possible to set up a Samba Server to act as a MS Windows application server in a such way that Windows clients can install and use the applications installed on the samba server. Regards, -- Benilton Carvalho DE / IMECC / UNICAMP Red Hat Linux i18n Team -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Multiple domains
Hi all, is it possible to set up samba to act as PDC for multiple domains? Best regards, -- Benilton Carvalho DE / IMECC / UNICAMP Red Hat Linux i18n Team -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba3.0beta1 as PDC with LDAP
On Mon, 2003-06-09 at 01:28, Chee Wai Yeung wrote: > I still could not get a uid=root entry in LDAP to > allow client workstation to join the domain. > Has anyone got a full LDAP based Samba PDC working > without the need to have a fallback smbpasswd for the > root account? My experience is the same as yours, Chee. I had to have a user 'root' in smbpasswd, despite having a root-user (UID=GID=0) in LDAP (this was using 3.0alpha24, not beta1). -Gord -- Gordon Pritchard, P.Eng. | Institute of Electrical and Research Labs Manager| Electronics Engineers Simon Fraser University, Surrey | Quarter Century Wireless Ass'n [EMAIL PROTECTED] | Telephone Pioneers of America phone: 604.268.7509 | Amateur Radio: VA7SFU, VA7GP -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba and ACLs
I posted last week and got some good answers, but I am still having problems. Samba does not seem to be converting the acl's properly. Here is an overview: Windows 2000 Domain Red Hat 8 w/ acl rpm's installed: e2fsprogs libattr attr attr-devel libacl acl acl-devel fileutils star Winbind working perfectly Two Drives: Primary Drive EXT3 Seconday Drive that houses Samba Shares XFS Note: XFS has built in ACL support Samba configured with acl support: ./configure --with-acl-support make make install If I run wbinfo -g or -u it lists all the groups or users (respectively) in my domain. If I run a getfacl on a file it prints out the correct acl's. For instance: getfacl libattr-devel-2.0.8-3.i386.rpm # file: libattr-devel-2.0.8-3.i386.rpm # owner: MCASOLUTIONS\harris # group: MCASOLUTIONS\Domain Users user::rw- group::rw- other::--- However if I check a file through windows it permissions show up as unix_group.gid Here are some screen shots: http://bharris.f2o.org/win.html My theory is that samba is not properly converting the linux ACLs into windows ACLs but I'm not sure how to fix it. Any ideas? Thanks! Brett -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Cannot connect from Linux to XP
I am using Samba Version 2.999+3.0cvs20020906-1 for Debian. There two are the only computers on my workgroup. I can use it fine FROM windows to access files on my linux computer. I am unable to connect to my Windows XP PRO SP1 computer. Any help would be greatly appreciated. I'm stuck here. When I do smbclient //TENSOR/mp3 -U Administrator I get: added interface ip=192.168.0.102 bcast=192.168.0.255 nmask=255.255.255.0 Password: Doing spnego session setup (blob length=16) session setup failed: NT_STATUS_LOGON_FAILURE Even when I try a user with no password: added interface ip=192.168.0.102 bcast=192.168.0.255 nmask=255.255.255.0 Password: Doing spnego session setup (blob length=16) Anonymous login successful Domain=[BEAMS] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] tree connect failed: NT_STATUS_ACCESS_DENIED -- Enrico Ng <[EMAIL PROTECTED]> -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] linxu to windows server problem
Ok I am using Samba on my Linux box. Now I only have one password and username, I use it on both machines (linux and XP) and on the network. I can use samba to get on my XP and my XP to get on a specific server, but I cannot use Samba to get onto that server. I can see the server, but when I try to connect it prompts for a password and mine doesn't work. My network admin assures me that it is not an permissions or password problem. Any insight would help me greatly thank you. ~ Brendan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Firewall & samba
Thanks Tori, I have opened those ports on the firewall and created a rule to use those ports on the specific server. I also made the relevant entries in the lmhosts file. I can ping the server and use ftp. Should I be able to use the net use command under windows - ie net use r: \\10.10.10.10\homes?? I have tried but it does not recognize my server. Allison Cooney Systems Administrator Tel: Office: 01 - 6799933 Direct: 01 - 6752213 Mobile: 087 - 2365032 This e-mail transmission may contain confidential information that is intended for the individual or entity named on the e-mail address. If you are not the intended recipient, please reply to the sender so that Quest Computing Ltd can arrange for the proper delivery, and then please delete the message from your inbox. If you have received this e-mail in error, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited. -Original Message- From: Tori Williamson [mailto:[EMAIL PROTECTED] Sent: 06 June 2003 15:38 To: [EMAIL PROTECTED] Subject: Re: [Samba] Firewall & samba Well... it depends upon how you want your machines to see each other. Gregis close. But you don't need 135 UDP or TCP 445. TCP 137 & 138 need to be opened to allow the machines on the other side through. But make sure that you ONLY open those ports for the machine to machine traffic. And write a rule AFTER that rule that prevents any further traffic on those ports. .t - Original Message - From: "Greg Hirsch" <[EMAIL PROTECTED]> To: "Allison Cooney" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, June 06, 2003 6:43 AM Subject: RE: [Samba] Firewall & samba Unless I'm forgetting something, you should just need to open up your firewall for UDP on ports 135, 137, and 138, and TCP on ports 135, 139, and 445. That might even be overkill for your setup - you might not need 445 open. Greg Hirsch Product Support/IT Specialist LOGICARE Corporation (800) 848-0099 -Original Message- From: Allison Cooney [mailto:[EMAIL PROTECTED] Subject: [Samba] Firewall & samba Hi Just wondering if anyone could help with regarding the following. I have a number of Linux servers within an NT domain and I can access all of them. But I have a linux server behind our (raptor) firewall - samba has been configured on it and appears to be running. What I want to know is how do I access it from the NT domain. I know I will have to make some changes on the firewall - but how do I get to see it through the NT domain. I can ping the server. Any one got any suggestions? Allison Cooney Tel: Office: 01 - 6799933 Direct: 01 - 6752213 Mobile: 087 - 2365032 This e-mail transmission may contain confidential information that is intended for the individual or entity named on the e-mail address. If you are not the intended recipient, please reply to the sender so that Quest Computing Ltd can arrange for the proper delivery, and then please delete the message from your inbox. If you have received this e-mail in error, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] nt pdc
i have this problem in the first login in pdc server. i´ve to create one machine account and in the frist login i must login with an admin user. After reboot the machine, i logon with normal user. Work fine. Frederico Madeira Coordenador de Suporte N. Landim Comércio Ltda PABX: 81. 3497.3029 e-mail: [EMAIL PROTECTED] - Original Message - From: "Som Bunnet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 8:13 AM Subject: [Samba] nt pdc > Hi > I am a linux administrator. > I have got some problem with using samba as NT domain > controller. > The follow is my problem: > I have configured sama as NT domain controller by > following configuration steps in samba documentation > package. Then I join windowxp profestional to the > samba domain, I sucessfully joined, but after windowxp > is restarted, a message is displayed When i try to > logon to samba domain: Window cannot find the > specified domain, the domain controller is > down > > > Please help me! > thank. > > > __ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] winbind problem
I have a strange problem with winbind. I had winbind working for a while on a Redhat Linux 7.1 server, but now it stopped working. I use Samba version 2.2.8a # /usr/local/samba/bin/wbinfo -p 'ping' to winbindd failed could not ping winbindd! # pgrep -l winbin 29524 winbindd # I can join the domain with 'smbpasswd -j' -- Matti Koskimies Fujitsu Invia, Finland tel. +358 10 599 4199, gsm +358 50 387 0590 [EMAIL PROTECTED], http://invia.fujitsu.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba3.0beta1 as PDC with LDAP
> I finally got Samba-3.0beta1 as PDC with LDAP backend. > However, I need to specify: > > passdb backend = ldapsam smbpasswd:smbpasswd guest > > and have the root account's exists in smbpasswd file. > I still could not get a uid=root entry in LDAP to > allow client workstation to join the domain. > > When in samba-2.2.8a I could use a fake rid=506 with > uidNumber=0 entry in LDAP (as a SambaAccount) and it > worked fine. But even after converting this entry to > SambaSamAccount object with Jerry's conversambaAccount > script it would not allow client machines to join the > domain. > > Has anyone got a full LDAP based Samba PDC working > without the need to have a fallback smbpasswd for the > root account? What SambaSID will work for a root > account that allows client workstations to join the > domain? With pdbedit -L you can see rid's. I used it and got rid 0 with sambaSID: -1000. It might be that I have somewhere declared that SID's start at 1000 but I didn't found it in smb.conf so it might be default. Hannu -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] passwd file in remote machine
Hello. Is is possible to use a passwords file in another computer (not where samba is running)? How can I indicate to samba where it can find it? I don't mean 'smbpasswd' file but, if I can´t use the password file of another unix machine, can I use le smbpassword file instead? Thanks in advance. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] nt pdc
I've had exactly the same problem with win2k & samba.. seems to be very common. i don't know exactly what i did to get my machines logging in, but all i can say is you have to spend a couple of days to go over your DNS and WINS configs with a fine toothed comb. then once you get that going be prepared for segfaults and kernel panics and bizarre ACLs and all sorts of grief that'll make you wonder if it's really worth it. :-( ..S. On Monday, June 9, 2003, at 09:13 PM, Som Bunnet wrote: Hi I am a linux administrator. I have got some problem with using samba as NT domain controller. The follow is my problem: I have configured sama as NT domain controller by following configuration steps in samba documentation package. Then I join windowxp profestional to the samba domain, I sucessfully joined, but after windowxp is restarted, a message is displayed When i try to logon to samba domain: Window cannot find the specified domain, the domain controller is down -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] nt pdc
Hi I am a linux administrator. I have got some problem with using samba as NT domain controller. The follow is my problem: I have configured sama as NT domain controller by following configuration steps in samba documentation package. Then I join windowxp profestional to the samba domain, I sucessfully joined, but after windowxp is restarted, a message is displayed When i try to logon to samba domain: Window cannot find the specified domain, the domain controller is down Please help me! thank. __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] First beta of Samba 3.0.0 available for download
> The Samba Team is proud to announce the availability of the > first beta release of the Samba 3.0.0 code base. NICE WORK Samba Team!!! -Mike MacIsaac, IBM mikemac at us.ibm.com (845) 433-7061 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Accepting Time Server
> How does Microsoft Windows know to grab the time off the Linux server? As I said: "clients can still set their time with the "net time" command." The synax is "net time \\sambaServer /set /yes This can be run interactively from a DOS prompt, in an autoexec.bat, or in a netlogon startup script > Is ntpd needed on the Linux server to execute net time? No, Samba is. xntpd is needed for an accurate software clock. -Mike MacIsaac, IBM mikemac at us.ibm.com (845) 433-7061 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Large site installation
On Mon, 2003-06-09 at 19:03, Rakesh Sabharwal wrote: > Hi! > > We are in process of moving to Samba from current setup of windows (servers) > for a site of more than 10,000 windows clients and storage requirement > of 2TB. What would be the hardware considerations? Any sizing inputs > would be of great help. I would suggest a bit over 2TB of disk space then :-) Seriously, have a look at the NAS devices (many based on Linux) that will do exactly what you want. Spec them out, and that will give you some idea what these people think you would need, even if you don't end up using them. The other thing that will be important in your decision is if you will be moving your PDCs at the same time. 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 signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with Samba %U
On Mon, 2003-06-09 at 17:57, Radek ´uja wrote: > Hello, > > I have a problem with Samba and I absolutely don't know how to solve it. > > > Samba version: 2.2.8a > Linux version: Redhat 9.0 > > Description of the problem: > > In Samba configuration I use: > > include = /etc/samba/%U.conf > > and services as follow: > > [%U] > comment = Home directory (%U) (%u) > path = /public/%U This looks like a very bad idea. Samba's handling of %U is sub-optimal, as you have found. I'm certain this kind of configuration is almost never tested - what is wrong with the 'homes' service? You can use %u in the path, if you want. The reason %U doesn't work it that it tends to be a global, per connection, and windows terminal server opens only one connection to the server. Even with newer versions of Samba which get %U working a little better, the share list is global. I expect this configuration to become less, rather than more supported in future. (The compromises required for some of these configurations may prove too costly in future). 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 signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Large site installation
Hi! We are in process of moving to Samba from current setup of windows (servers) for a site of more than 10,000 windows clients and storage requirement of 2TB. What would be the hardware considerations? Any sizing inputs would be of great help. Thanks Sabby -- ___ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Error adding a pc to a samba domain
Hey all. My samba pdc (chewtoy) was working fine. All was doing what it was meant to. Joining the domain was a breeze. Shares, logon scripts printing etc were all ok. However.. In a server migration (suse 6.4 to 8.2) I setup a new pdc and it was a nightmare to setup. One local pc failed to join the domain properly so I left it. The migration project turned very sour so I scrapped it before I went insane. Now I have put the original samba pdc (chewtoy) back and the local pc STILL fails to join the domain. I now find that this is the same with all pc's. The XP error is.. The following error occurred attempting to join the domain foobar. Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or Shared resource and try again. What the hell is going on.. Wayne. In severe stress mode.. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba3.0beta1 as PDC with LDAP
I finally got Samba-3.0beta1 as PDC with LDAP backend. However, I need to specify: passdb backend = ldapsam smbpasswd:smbpasswd guest and have the root account's exists in smbpasswd file. I still could not get a uid=root entry in LDAP to allow client workstation to join the domain. When in samba-2.2.8a I could use a fake rid=506 with uidNumber=0 entry in LDAP (as a SambaAccount) and it worked fine. But even after converting this entry to SambaSamAccount object with Jerry's conversambaAccount script it would not allow client machines to join the domain. Has anyone got a full LDAP based Samba PDC working without the need to have a fallback smbpasswd for the root account? What SambaSID will work for a root account that allows client workstations to join the domain? Please advise. Thanks! __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with Samba %U
Hello, I have a problem with Samba and I absolutely don't know how to solve it. Samba version: 2.2.8a Linux version: Redhat 9.0 Description of the problem: In Samba configuration I use: include = /etc/samba/%U.conf and services as follow: [%U] comment = Home directory (%U) (%u) path = /public/%U and other else according to a user. When I am connecting to Samba Server from PC, everything is all right. Each user gets their services. But when I am connecting to Samba Server from Windows Terminal Server, it doesn't work properly. It works like this: User1 = celnici User2 = zujar Both of these users have also the same user name in Linux. 1. I connect to WindowsTerminalSession as user1(celnici). After "find computer" I can find and see Samba Server and I get all shares for user "celnici" (services celnici comment = Home Directory (celnici) (celnici)) 2. I connect to WindowsTerminalSession as user2(zujar). After "find computer" I can find and see Samba Server and I get all shares for user "zujar" (services zujar comment = Home Directory (zujar) (zujar)) 3. I am back on WindowsTerminalSession celnici, and I refresh the window with Samba Server. Still everything is OK. (services celnici comment = Home Directory (celnici) (celnici)) 4. I am back on WindowsTerminalSession zujar, and I refresh the window with Samba Server. NOW I CAN SEE THE SHARES FOR celnici, even as I am connected as zujar. (services celnici comment = Home Directory (celnici) (zujar)) And that's the problem, which I can't understand. Can you help me, please? Radek Zuja -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] stability
I've just had this and it drove me crazy for a couple of days - started after I had been editing the smb.conf on a remote machine, and the conf file was the same on all three of my Samba servers except for a few lines - turns out I'd managed to get a capital S in one of the paths - took ages to spot such a simple error -Original Message- From: D. Rick Anderson [mailto:[EMAIL PROTECTED] Sent: 06 June 2003 18:59 To: [EMAIL PROTECTED] Subject: [Samba] stability I'm having problems when I restart the smb server with it not coming back up. As near as I can tell it's actually NMBD that's having the issue. I'm running RedHat 9.0 on a Compaq ML-370 with Dual 1.2GHz P3s and I just upgraded Samba to 2.2.8a-1 after having this same problem with 2.2.7a When I issue: #service smb restart It says that it shut down and restarted ok, but then nobody can logon to the domain, so I issue it again and it tells me that it couldn't kill nmbd, but then it starts it OK, and I can get everyone on. There's also been a few times where it just stopped accepting logons, after accepting them for most of the day, so I restart it, and it tells me then that it couldn't kill nmbd either. testparm doesn't find anything wrong with my config. Does anybody know of a way to stabalize this? Thanks, Rick -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba