[Samba] FW: THE [PRINT$] SHARE
Is this an exclusively NT/XP/2K share or will it work with windows 9x as well? Kev -- 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+Driver autodownload
Hi, The version of CUPS and cupsaddsmb is currently 1.1.18, (due to be upgraded to 1.1.19 soon-ish). Here's the output of running cupsaddsmb -v ...: # /usr/sbin/cupsaddsmb -v -U root oki7200 Password for root required to access localhost via SAMBA: Running command: smbclient //localhost/print\$ -N -U'root%secret' -c 'mkdir W32X86;put /var/spool/cups/tmp/3ed6034d677c4 W32X86/oki7200.PPD;put /usr/share/cups/drivers/ADOBEPS5.DLL W32X86/ADOBEPS5.DLL;put /usr/share/cups/drivers/ADOBEPSU.DLL W32X86/ADOBEPSU.DLL;put /usr/share/cups/drivers/ADOBEPSU.HLP W32X86/ADOBEPSU.HLP' added interface ip=192.168.50.129 bcast=192.168.50.255 nmask=255.255.255.128 added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 Domain=[XREFER] OS=[Unix] Server=[Samba 2.2.9pre1] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86 putting file /var/spool/cups/tmp/3ed6034d677c4 as \W32X86/oki7200.PPD (16523.1 kb/s) (average 16523.4 kb/s) putting file /usr/share/cups/drivers/ADOBEPS5.DLL as \W32X86/ADOBEPS5.DLL (23519.6 kb/s) (average 22062.2 kb/s) putting file /usr/share/cups/drivers/ADOBEPSU.DLL as \W32X86/ADOBEPSU.DLL (22083.0 kb/s) (average 22066.4 kb/s) putting file /usr/share/cups/drivers/ADOBEPSU.HLP as \W32X86/ADOBEPSU.HLP (18016.8 kb/s) (average 21935.8 kb/s) Running command: rpcclient localhost -N -U'root%secret' -c 'adddriver Windows NT x86 oki7200:ADOBEPS5.DLL:oki7200.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL' cmd = adddriver Windows NT x86 oki7200:ADOBEPS5.DLL:oki7200.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL result was NT_STATUS_UNSUCCESSFUL Running command: smbclient //localhost/print\$ -N -U'root%secret' -c 'mkdir WIN40;put /var/spool/cups/tmp/3ed6034d677c4 WIN40/oki7200.PPD;put /usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put /usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put /usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put /usr/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put /usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put /usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;' added interface ip=192.168.50.129 bcast=192.168.50.255 nmask=255.255.255.128 added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 Domain=[XREFER] OS=[Unix] Server=[Samba 2.2.9pre1] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40 putting file /var/spool/cups/tmp/3ed6034d677c4 as \WIN40/oki7200.PPD (20653.8 kb/s) (average 20654.3 kb/s) putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM (23420.0 kb/s) (average 23025.0 kb/s) putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV (23434.6 kb/s) (average 23294.7 kb/s) putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP (23981.6 kb/s) (average 23355.8 kb/s) putting file /usr/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD (13174.5 kb/s) (average 23244.0 kb/s) putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (23071.4 kb/s) (average 23235.0 kb/s) putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (18666.1 kb/s) (average 23096.6 kb/s) Running command: rpcclient localhost -N -U'root%secret' -c 'adddriver Windows 4.0 oki7200:ADOBEPS4.DRV:oki7200.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,oki7200.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL' cmd = adddriver Windows 4.0 oki7200:ADOBEPS4.DRV:oki7200.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,oki7200.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL result was NT_STATUS_UNSUCCESSFUL Running command: rpcclient localhost -N -U'root%secret' -c 'setdriver oki7200 oki7200' cmd = setdriver oki7200 oki7200 Succesfully set oki7200 to driver oki7200. I've also tried running the enum{printers,drivers} commands. enumprinters [12] both give output, but enumprinters 3 gives me the same NT_STATUS_UNSUCCESSFUL. enumdrivers [123] runs without an error message, but displays nothing apart from the cmd = Cheers Matt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Migration Question
Hello, I have a RedHat 7.3 Server running as a Samba PDC for a Windows Network. We want to migrate that box to RedHat 9.0. Our plan is to format the drive and do a fresh install. Of course we will back up the system, but I want to make sure that when our users log back on to the system nothing is lost. The question is, if we restore the /etc/samba directory, plus all the user data and the user/password files will this achieve this result or are we missing something? TIA, _ Bruce P. Morin SafePoint E-Technology Group, LLC. phone: +1 860 410 0790 email: [EMAIL PROTECTED] web: http://www.safepointetech.com _ 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] secret.tdb is bad (fixed)
if anyone is having problems with a bad secret.tdb file this is what i did to fix the it -- start smbd, nmdb, join PDC, start winbind, restart smbd/nmdb/winbind -- i think a restart of the daemons is needed, it worked for me after pull my hair out for days... -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Slow performance with QuickBooks
I am not sure which version of Samba you are using, but the first thing anybody is going to tell you is to upgrade to 2.2.8, if you already haven't. After that take a look at some of the notes found on our web site at: http://www.Drouillard.ca/TipsTricks/Samba/Oplocks.htm Also a few things interesting in your config file: socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=2048 SO_RCVBUF=2048 It would be surprising if bumping up the BUF's did not increase the speed. You can find a test program in the above link to help you with that. What is the speed of your network and NIC? Regards - Gerald Drouillard President Drouillard Associates, Inc. http://www.Drouillard.ca -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brandon Lederer Sent: Wednesday, May 28, 2003 5:39 PM To: [EMAIL PROTECTED] Subject: RE: [Samba] Slow performance with QuickBooks Yes OPLOCKS are off. My smb.conf file follows: [global] workgroup = HMS server string = CBS Quickbooks Server (Samba) load printers = yes printer admin = @HMS+adminx printcap name = cups printing = cups guest ok = no restrict anonymous = yes valid users = @HMS+cbsusers, roz, root, dennis #invalid users = root admin users = root, @HMS+adminx log file = /var/log/samba/log.%m # max size of the log files (in Kb). max log size = 1000 #log level = 100 syslog = 0 security = domain password server = hms-pdc encrypt passwords = yes browsable = yes socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=2048 SO_RCVBUF=2048 #I've been playing with this here. 8192 made it slower oplocks = no level2 oplocks = no wins server = 192.168.2.5 dns proxy = no passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . winbind uid = 1-2 winbind gid = 1-2 template shell = /bin/false template homedir = /dev/null winbind cache time = 10 winbind separator = + #and the relevant share [qbdata] comment = QuickBooks Data path = /data/qbdata browsable = yes writable = no write list = @HMS+Finance, @HMS+adminx create mode = 0770 force create mode = 0770 directory mode = 0770 force directory mode = 0770 -Original Message- From: Gerald Drouillard [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 4:20 PM To: Brandon Lederer; [EMAIL PROTECTED] Subject: RE: [Samba] Slow performance with QuickBooks Did you turn oplocks off? Can we see your smb.conf file? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brandon Lederer Sent: Wednesday, May 28, 2003 4:05 PM To: '[EMAIL PROTECTED]' Subject: RE: [Samba] Slow performance with QuickBooks Just also verified that WinXP and Win98SE Exhibit the SAME issue. almost identical time from one OS to the Other. I just cant seem to make it any better. -Original Message- From: Brandon Lederer [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 2:26 PM To: '[EMAIL PROTECTED]' Subject: [Samba] Slow performance with QuickBooks I have spent much of the day today researching performance tuning with samba. I have tried everything that I can find out about how to make performance faster. I checked disk performance with Bonnie, installed FTP and tested a transfer that way, achieving 6-7 MB / second. about 30 seconds for 150 MB file. I was finally able to achieve those speeds on a file transfer to the server through samba. But QuickBooks is still just as slow as it was. Its performance has not changed a bit. I am banging my head against the wall on this. I am going nuts. Please Help. Brandon -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: share persistence problem
On Thu, 29 May 2003, Paul Trepanier wrote: While you may be onto something, I currently disagree as the samba logs show the details of what's happening... [2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(59) unix_mode(Desktop.ini) inheriting from . [2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(67) unix_mode(Desktop.ini) inherit mode 42775 [2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(59) unix_mode(Desktop.ini) inheriting from . [2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(67) unix_mode(Desktop.ini) inherit mode 42775 [2003/05/29 08:05:11, 1] smbd/service.c:make_connection(636) sambaclient(111.222.333.444) connect to service home as user sambauser(uid=772, gid=10772) (pid 4803) [2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(59) unix_mode(Desktop.ini) inheriting from . [2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(67) unix_mode(Desktop.ini) inherit mode 42775 [2003/05/29 08:05:13, 2] smbd/dosmode.c:unix_mode(59) unix_mode(.) inheriting from . [2003/05/29 08:05:13, 2] smbd/dosmode.c:unix_mode(67) unix_mode(.) inherit mode 42775 [2003/05/29 08:06:05, 1] smbd/service.c:close_cnum(677) sambaclient(111.222.333.444) closed connection to service home As you can see by the last log entry, samba blows the client off and closes the connection less than a minute after it was established. All on it's own. My users simply will not tolerate having to remap drives umpteen times a day as doing so to an actual MS windows share does not require constant remapping. This behavior is unfortunately a showstopper and I would hate to loose the opportunity for samba to address our UNIX filesharing problems. I've found slews of reports of this behavior on google, but all the proposed solutions appear to not provide an answer/resolution. Nada @ samba.org docs (from my perspective). There are a number of steps you can take to improve network stability. 1. Change security mode to security = domain - then join the domain using: smbpasswd -r PDC -j DOMAIN -Uadministrator 2. Change the password server entry to: password server = * 3. Make sure that the user name is identical on Linux as on the domain, if not use: username map = /etc/samba/smbusers In the /etc/samba/smbusers file: # Unixuser = MSWindowsUser root = administrator maryk = mkandoit Server mode security is a bad hack and should not be used. In any case, your MS Windows clients will drop idle connections unless you specifically set the registry entry that controls this to 0 (zero). If your network is stable, and your Samba server is a domain member, and your MS Windows clients are full domain members, then reconnects should happen transparently. - John T. Thoughts? John H Terpstra wrote: On Wed, 28 May 2003, Paul Trepanier wrote: After awhile, my connections from my PC to my samba server end up with a red X in them (share disappeared) if I leave my explorer window open. If I click on these, they wake up and continue to function (and the red X's go away). If I close my explorer window (while the red X's are there) and reopen it , they are gone. An attempt to reestablish these dropped connections is immediately successful. This is obviously a connection persistence issue and I've tried setting both keepalive= and SO_KEEPALIVE (individually, of course) to no avail. Any ideas? Your MS Windows client is the culprit - it is dropping idle connections as I recall. Also, you may find that there is a registry setting to turn that feature off. - John T. My installation is samba 2.2.8 running as a daemon (not inetd) on Solaris 8 configured to use a WINS server and provide authentication via a PDC (same host as WINS server). I do have an lmhosts file in the samba /lib directory with the PDC/WINS server address in it. My globals section; [global] workgroup = WORKGROUP netbios name = SAMBASERVER security = SERVER encrypt passwords = Yes password server = pdc lanman auth = No log level = 2 log file = /usr/local/depot/samba-2.2.8/var/%m.log deadtime = 5 max smbd processes = 5 socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE load printers = No show add printer wizard = No preferred master = No local master = No domain master = No wins server = [IP address of WINS/PDC server] follow symlinks = No -- 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
RE: [Samba] Folder redirection on samba
On Thu, 29 May 2003, Murali krishnan Ganapathy wrote: Policy handling and profile configuration is rather well covered in the new HOWTO that will ship with Samba-3. I would appreciate feedback from people who have reviewed the two (2) chapters on these subjects and any contributions of corrections or additional material you might consider valuable to others. You may obtain the current form of the HOWTO from: http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdf In particular please refer to chapters 21 22. Cheers, John T. Two ways to do it. One is on a per user basis, and the other is through policies. First: Per User --- All that needs to be done is to change one registry key, in HKCU. All other methods essentially do this for you and give you a cleaner interface. I cant remember the registry key to change off the top of my head, but if you want I can find it for you. Second: Policies I know this can surely be done with Group Policies in Win2K/XP. But SAMBA does not support Active Directory Objects yet (needs to serve them up). But NT4 sytle system policies are supported by samba. It just involves placing a NTConfig.pol file in the netlogon share. But I dont know if NT4 System policies allow folder redirection. The way I am planning to use (still experimenting with it), is to use method one (Still dont have a way to generate a NTConfig.pol file, since I only have a Win2K Advanced Server CD and not a NT4 server CD). Basically, we allow the users to create a .windowsrc file in their home directory which is in INI format. Then during logon, as part of the logon script, this file is read, parsed and settings specified there are implemented. Settings include folder redirection and mounting network shares, and hope to add more features eventually. The only problem I have is that: In my case, I want the My Documents redirected to a network share (usually their home directory). The redirection works fine. Windows realises the redirection is in effect and does not download MyDocuments from the profiles directory. But in order to improve network performance (or whatever), it is trying to cache the MyDocuments locally. Since user home directories are typically huge (100MB), it is downloading the entire MyDocuments folder, which is a bad thing. I still need to figure out, how to tell windows programmatically, not to cache MyDocuments. So any changes they make is written to the network share immediately. Even if it means loosing MyDocuments when there is a network outage. Hope this helps. - Murali -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:35 AM To: [EMAIL PROTECTED] Subject: [Samba] Folder redirection on samba hi, how can i set up the folder my documents on clients desktop on my samba pdc? thanks andrea __ Tiscali ADSL a 1 euro al giorno, traffico incluso!e in piu' telefoni gratis. Abbonati entro il 31 maggio, l'attivazione e' gratuita. http://point.tiscali.it/adsl/index.shtml -- 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
Re: [Samba] secret.tdb is bad (fixed)
On Fri, 30 May 2003, ipguy wrote: if anyone is having problems with a bad secret.tdb file this is what i did to fix the it -- start smbd, nmdb, join PDC, start winbind, restart smbd/nmdb/winbind -- i think a restart of the daemons is needed, it worked for me after pull my hair out for days... A better method is to run the samba utility 'tdbbackup' as part of the process of shutting samba down, or just before starting smbd. Please refer to the man page for tdbbackup. - 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
RE: [Samba] Slow performance with QuickBooks
I used an Excellent Loaded WINXP computer today. Samba is outspeeding FTP. Approaching 7 MB / sec on reads, 6 MB / sec on writes. Linux sees these speeds on FTP. Unable to test sambaclient on Linux. This isn't anything to complain about, albeit there is _better_. But a decent 98SE machine cant touch these speeds. Is there any explanation as to why? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] wtmp support
I get trouble from my OS, specifically with the finger command, if I have wtmp support turned on: [EMAIL PROTECTED] /opt/src/imap-2002c1] finger novosirj finger: error STATing /dev/smb/31 ...the IS is HP-UX 11. The reason, of course, is because /dev/smb does not exist, and neither do any of the files in it. Does anyone know anything about creating them, or does Samba not expect them to actually be used, or...? If anyone is more familiar with the technical aspects of the wtmp support, your time would be greatly appreciated. Thank you. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] client side permisions of a samba directory
All, I've recently noticed that when I have a directory remotely mounted via samba to my linux desktop, the mode bits of directories and files in it don't necessarily resemble those of the actual files on the server. Neither does a chmod seem to have any effect. I noticed that smbmount has a fmask and a dmask argument and these arguments control what I view the mode as. Leaving out these arguments just gets me a different mask. Question: How can I get my mounted directory to simply behave just like any other directory? I just want to be able to view and modify the REAL mode bits from my konsole. Info: client - Mandrake Linux 9.1, smbmount version 2.2.7a, smbclient version 2.2.7a server - RH 7.3, smbd version 2.2.3a mount command: smbmount //ENGSWDEV/derosier /home/derosier/mnt/ENGSWDEV/derosier/ -o username=derosier%*,fmask=644,dmask=755,uid=501,gid=501, ip=192.168.100.14,debug=0,workgroup=PIANODISC Note-I know I'm running an old version of smbd on the server. Please don't tell me you need to upgrade unless it actually makes a difference in the problem I'm having; there are too many people here that can't afford the outage with the time it will take to do an upgrade. Thanks, - Steve -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba PDC - Adding machine to domain
Hi: I am using Samba 2.2.8 with LDAP integration in PDC mode. I succeeded in adding a machine to my domain, but when I try to log in to the domain I get the following error: The system cannot log you on to this domain because the system's computer account in its primary domain is missing or the password on that account is incorrect. I've addded the machine by hand (not with an adduser script) so maybe I am missing some attribute, or setting the password wrong (I am using a random password made with mkntpwd -N randompwd, as I know there is no need for a LANMAN passowrd in a computer account). I have the guest and root accts in the LDAP directory, and root is in the Domain Administrators group. Here is a snip of the log (where i think the operation fails to complete) --snip--- [2003/05/29 13:26:15, 6] rpc_parse/parse_prs.c:prs_debug(60) 60 smb_io_chal [2003/05/29 13:26:15, 5] rpc_parse/parse_prs.c:prs_uint8s(675) 0060 data: 75 5f 7d b4 35 7b 4a b6 [2003/05/29 13:26:15, 6] rpc_parse/parse_prs.c:prs_debug(60) 68 net_io_neg_flags [2003/05/29 13:26:15, 5] rpc_parse/parse_prs.c:prs_uint32(588) 0068 neg_flags: 6007bfff [2003/05/29 13:26:15, 4] libsmb/credentials.c:cred_create(91) cred_create [2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_create(93) sess_key : 06D02A5E097618A1 [2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_create(94) stor_cred: 95279C21F48DB297 [2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_create(95) timestamp: 0 [2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_create(96) timecred : 95279C21F48DB297 [2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_create(97) calc_cred: 69763B2607E027C1 [2003/05/29 13:26:15, 4] libsmb/credentials.c:cred_assert(122) cred_assert [2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_assert(124) challenge : 755F7DB4357B4AB6 [2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_assert(125) calculated: 69763B2607E027C1 [2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_assert(134) credentials check wrong [2003/05/29 13:26:15, 5] rpc_parse/parse_prs.c:prs_debug(60) 00 net_io_r_auth_2 [2003/05/29 13:26:15, 6] rpc_parse/parse_prs.c:prs_debug(60) 00 smb_io_chal [2003/05/29 13:26:15, 5] rpc_parse/parse_prs.c:prs_uint8s(675) data: 40 c7 1f 40 00 00 00 00 [2003/05/29 13:26:15, 6] rpc_parse/parse_prs.c:prs_debug(60) 08 net_io_neg_flags [2003/05/29 13:26:15, 5] rpc_parse/parse_prs.c:prs_uint32(588) 0008 neg_flags: 01ff [2003/05/29 13:26:15, 5] rpc_parse/parse_prs.c:prs_ntstatus(617) 000c status: NT_STATUS_ACCESS_DENIED --snip--- Thanks a lot in advance. Gabriel. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba+CUPS+Driver autodownload
Am Donnerstag, 29. Mai 2003 14:39 schrieb Kurt Pfeifle: http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/ Why on earth do people keep on insisting that imprints is useful and functional? It's been dead since more than a year, has never worked for me, and anybody I've been mailing about imprints has not even had an active maintainer for more than a year. I'm the first to say that the idea _behind_ it is temptingm but without anyone actively maintining it, and without a reliable, working version out there, it should not be mentioned as a _solution_. bye, MH -- Die unaufgeforderte Zusendung einer Werbemail an Privatleute verstößt gegen §1 UWG und 823 I BGB (Beschluß des LG Berlin vom 2.8.1998 Az: 16 O 201/98). Jede kommerzielle Nutzung der übermittelten persönlichen Daten sowie deren Weitergabe an Dritte ist ausdrücklich untersagt! gpg key fingerprint: 5F64 4C92 9B77 DE37 D184 C5F9 B013 44E7 27BD 763C -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Setting up shares with multiple directories
Morning everyone. Have a quick question on what would be the best way to set up sharing for my instance. Our samba server is going to be hosting applications that are used by our clients everyday. On our Samba server, I have setup the directories like this: (I should mention, one of our applications will have multiple folders to hold the corresponding data) /home/point /home/point/pntdata /home/point/pnttempl and so forth. There is around 10 total directories like this. My question is what would be the best way to set this up in my smb.conf file? As of now, this is how I have it: [Point] comment = Point Program path = /home/point read only = no writable = yes create mode = 660 directory mode = 770 admin users = @domadm valid users = @cm But, I need to specify the underlying directories. Is there a trick to doing that, or will I have to make each one a share in smb.conf? I was wondering if it's possible to use wildcards or something similar. Any ideas or suggestions on how to set that up? Thank you. Jason -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: share persistence problem
On Thu, May 29, 2003 at 08:19:35AM -0400, Paul Trepanier wrote: While you may be onto something, I currently disagree as the samba logs show the details of what's happening... [2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(59) unix_mode(Desktop.ini) inheriting from . [2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(67) unix_mode(Desktop.ini) inherit mode 42775 [2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(59) unix_mode(Desktop.ini) inheriting from . [2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(67) unix_mode(Desktop.ini) inherit mode 42775 [2003/05/29 08:05:11, 1] smbd/service.c:make_connection(636) sambaclient(111.222.333.444) connect to service home as user sambauser(uid=772, gid=10772) (pid 4803) [2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(59) unix_mode(Desktop.ini) inheriting from . [2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(67) unix_mode(Desktop.ini) inherit mode 42775 [2003/05/29 08:05:13, 2] smbd/dosmode.c:unix_mode(59) unix_mode(.) inheriting from . [2003/05/29 08:05:13, 2] smbd/dosmode.c:unix_mode(67) unix_mode(.) inherit mode 42775 [2003/05/29 08:06:05, 1] smbd/service.c:close_cnum(677) sambaclient(111.222.333.444) closed connection to service home As you can see by the last log entry, samba blows the client off and closes the connection less than a minute after it was established. All on it's own. Err, no. The message says clientname closed connection to service home. That's a *client* action, not a server one. Do you have any higher level log traces or ethereal network traces ? Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba+CUPS+Driver autodownload
Mathias Homann admin at eregion.de Thu May 29 18:46:50 GMT 2003 Am Donnerstag, 29. Mai 2003 14:39 schrieb Kurt Pfeifle: http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/ Why on earth do people keep on insisting that imprints is useful and functional? Hi, Mathias, yours is the first comment I read about that section. In fact, this section comes from the old HOWTO collection, and I felt it was only appropriate to keep it in, if the warning about its unmaintained status is made more prominent and the call for volunteers is repeated. It's been dead since more than a year, My draft says so and names a date: since December 2000. has never worked for me, and anybody I've been mailing about imprints has not even had an active maintainer for more than a year. I'm the first to say that the idea _behind_ it is temptingm That's why I feel it should not be just abandoned. but without anyone actively maintining it, and without a reliable, working version out there, it should not be mentioned as a _solution_. OK -- this is open for discussion. If I hear more voices about it blowing the same horn, it might go out... bye, MH Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
I could use some help here... Re: [Samba] Accessing printer fromoutside the domain
I'm doing my best to advocate F/OSS in our organization, but this has been a problem for over a week now and it's starting to look bad. Any takers? lloyd wrote: We need to give a user in another domain access to our printer: our domain: OURDOM (samba) other domain: OTHERDOM (AD?) user's workstation: \\OTHERDOM\WKSTN, in other domain printer: in our domain user: JOEBLOW - an account in each domain with the same login/password We're getting this error in wkstn.log: [2003/05/28 20:44:20, 1] smbd/password.c:server_validate(1101) password server is not connected [2003/05/28 20:44:20, 1] smbd/password.c:pass_check_smb(545) Couldn't find user 'joeblow' in passdb. [2003/05/28 20:44:20, 2] smbd/reply.c:reply_sesssetup_and_X(975) NT Password did not match for user 'joeblow'! [2003/05/28 20:44:20, 2] smbd/reply.c:reply_sesssetup_and_X(985) Defaulting to Lanman password for joeblow [2003/05/28 20:44:20, 1] smbd/password.c:pass_check_smb(545) Couldn't find user 'joeblow' in passdb. [2003/05/28 20:44:20, 1] smbd/reply.c:reply_sesssetup_and_X(1001) Rejecting user 'joeblow': authentication failed [2003/05/28 20:44:20, 3] smbd/error.c:error_packet(94) error string = No such file or directory [2003/05/28 20:44:20, 3] smbd/error.c:error_packet(113) error packet at smbd/reply.c(1003) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE Our password server (samba pdc) is ourdc.ourorg.org and has smbpasswd accounts on it. The print server has no user accounts on it, smbpasswd or passwd. The guest account sambaguest exists in smbpasswd and passwd both on the print server and password server, with the same password in all files. this smb.conf is from the print server: [global] debuglevel = 3 workgroup = OURDOMAIN server string = samba print server printcap name = /etc/printcap load printers = yes printing = cups guest account = sambaguest log file = /var/log/samba/%m.log max log size = 0 security = server password server = ourdc.ourorg.org encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* pam password change = yes obey pam restrictions = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain master = no preferred master = no wins server = 123.123.123.123 dns proxy = no [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yes writable = no printable = yes Any suggestions appreciated. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Weird permissions on samba shared printers
Well, I'm having some odd permissions created when I install a shared printer from a samba server. No matter what the remote host is I'll always end up with the following permissions on printers when installed on a client. http://www.strangeness.org/security.jpg I've got the drivers to update perfectly and now this is my last hurdle in setting up the print server. It seems to work okay but I still don't like the way it creates the permissions. I've tried searching google and finding somewhat related issues but they never seem to get anywhere so I'm hoping someone can help me find the answer. Here's some related information about the server and config: samba 2.2.7 #=== Global Settings = [global] workgroup = x netbios name = server string = Samba Server %v printcap name = /etc/printcap load printers = yes printing = lprng guest account = nobody log file = /var/log/samba/%m.log max log size = 0 security = domain password server = xx encrypt passwords = yes update encrypted = yes smb passwd file = /etc/samba/smbpasswd socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 remote browse sync = xxx.xxx.xxx.xxx local master = yes os level = 66 preferred master = yes wins server = xxx.xxx.xxx.xxx dns proxy = no show add printer wizard = yes printer admin = [print$] path = /var/spool/samba/printers guest ok = yes browseable = yes read only = yes ; since this share is configured as read only, then we need ; a 'write list'. Check the file system permissions to make ; sure this account can copy files to the share. If this ; is setup to a non-root account, then it should also exist ; as a 'printer admin' write list = jstrange [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writeable = no printable = yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re:[Samba] Making winbindd and pam_mount play nice together (2nd try)
I'm also trying to get this working with the same results on RH 9/Samba 2.2.7a/pam_mount 0.9.1 Bradley -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] File size limit?
Hi all, We have a Debian Linux 3.0, running kernel 2.4.18, and all filesystems are formatted as ext3. My problem is: when I try to mount an w2k share in this machine using smbmount, I can't see big files correctly. I suspect that the problem happens with files bigger then 2GB. I have a file in the w2k machine that's 4GB size, and when I mount the share in the linux machine, I see that file with just about 360MB! First I tried with smbfs 2.2.3 that comes with the distro. After a I tried with version 2.2.8 that's avaiable at samba site as a debian package. Finally I tried with 'unstable' version 2.999+3.0 that debian provides. Had the same results with all of them. Any help? 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] File size limit?
Courtesy of a quick google search. http://www.ps.uni-sb.de/~errror/smbfs-lfs.html On Thu, 29 May 2003, [iso-8859-1] djfogbr wrote: Hi all, We have a Debian Linux 3.0, running kernel 2.4.18, and all filesystems are formatted as ext3. My problem is: when I try to mount an w2k share in this machine using smbmount, I can't see big files correctly. I suspect that the problem happens with files bigger then 2GB. I have a file in the w2k machine that's 4GB size, and when I mount the share in the linux machine, I see that file with just about 360MB! First I tried with smbfs 2.2.3 that comes with the distro. After a I tried with version 2.2.8 that's avaiable at samba site as a debian package. Finally I tried with 'unstable' version 2.999+3.0 that debian provides. Had the same results with all of them. Any help? Thanks in advance. -- 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] File size limit?
-Original Message- From: djfogbr [mailto:[EMAIL PROTECTED] My problem is: when I try to mount an w2k share in this machine using smbmount, I can't see big files correctly. I suspect that the problem happens with files bigger then 2GB. I have a file in the w2k machine that's 4GB size, and when I mount the share in the linux machine, I see that file with just about 360MB! I don't think smbfs supports large files. Someone can correct me if I'm wrong. It has nothing to do with what filesystem you're using on your Linux system; it's a limitation of the smbfs driver. Sharing large files *from* Linux is supported by Samba, though. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Help on install
Hi; I want to install samba 2.2.8a binary distribution files on aix 5.1 Can anyone help me pointing a document or denoting short tips ? Regards. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba+CUPS+Drivers autodownload
Hi Matt, the problem you referred to is discussed in detail as bug #82 in Samba's bug tracking tool. It consists of 2 bugs. One prevents the registration of drivers and is due to a NULL-pointer passed from that part of code in rpc_server/srv_spoolss_nt.c which calls sys_adminlog function. It begins with the comment /* BEGIN_ADMIN_LOG */ and ends with the comment /* END_ADMIN_LOG */ The comments surround the code which should log that a printer driver has been added, listing driver's name, its OS, and admin's name. Since this sys-admin-logging is non-essential for the operation of Samba and CUPS you may simply extend the comment to include the whole code in between the two comments by removing the first */ and the second /* like this: /* BEGIN_ADMIN_LOG . code here commented out END_ADMIN_LOG */ Samba built with this change will not report NT_STATUS_UNSUCCESSFUL when you execute adddriver subcommand of rpcclient. The other bug prevents rpcclient's enumdrivers subcommands from completing and can be fixed by changing the line #943 in lib/util_unistr.c so that it reads: src_len = ( src == NULL ? 0 : strlen_w(src)*2+2 ); instead of just src_len = strlen_w(src)*2+2; So that you may find that part easily, here are the 7 lines surrounding and including the offending line: 940dest_len=MAXUNI-3; 941 942if (flags STR_TERMINATE) 943 src_len = strlen_w(src)*2+2; 944 945dest_len = MIN((src_len/2), (dest_len-1)); 946unistr_to_ascii(dest, src, dest_len); Another problem is building a fixed version of Samba. Somehow, the Linux vendors refrain from disclosing in full detail the files necessary for the build. They all more or less build their packages with rpm -bb which requires a .spec file. This is a kind of script listing all the dependencies, prerequisites, and steps to be taken in order to build an RPM fully automatically. Some of these steps consist of patching different original Samba files to either fix defects discovered after a major release came out or that are known to occur only in a specific distro, in other words to make it adhere to some specifics of a vendor's distro. The patch files are the correct place to register such changes to the source code as I mentioned above. However, vendors just mirror the latest samba source and let YOU figure out what is needed to be done in order for the software to build and run. In my view this is in clear contravention of the GPL!!! The vendors are selling the work of others omitting the essential information which makes it tick on their particular distro. This is a SERIOUS PROBLEM which has to be raised, unless of course it is just my inability to locate those informations on the web. In my case, SuSE 8.2, the vendor did a thorough job of providing almost all of the pre-requisite files on their sites. The missing ones were a few documents and a couple of template Samba configuration files which were already in their original 2.2.8a offering. It wasn't difficult to just copy those files into the /usr/src/packages/SOURCES with the rest. But try that with RedHat! I would really like to know which other vendors provide their customer with such informations in full detail. What is missing even in SuSE's documentation is a list of all the devel packages which need to be installed on a system in order to be able to build samba. I mean, I ran myself into the problem that configure failed and stopped the build when it tried to verify if it can use the included popt lib. It couldn't compile the test case because I didn't have openldap2-deve-l2.1.12-44 installed. My guess is that you probably need the following: cups-devel-1.1.18-56 libacl-devel-2.2.6-8 libattr-devel-2.4.0-14 libsmbclient-devel-2.2.8a-3 openldap2-devel-2.1.12-44 openssl-devel-0.9.6i-12 pam-devel-0.77-38 popt-devel-1.6.4-31 but I'm not sure because I've installed all devel packages (130 of them) just in case. I would be much obliged if someone could correct this list, if something is missing or superfluous. Matt, I hope this information helps anyone confronted with this bug in 2.2.8a. If you happen to have SuSE 8.2 on your system, I might send you a tarball with .spec and related files for the build. I guess that the same files would also work for RedHat and other distros but then again I might be wrong. Cheers Dragan 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
[Samba] Users losing connection at random
First let me start off by thanking you for your time. I have what I think is a unique problem. Daily on average there are about 67 users that connect to my server. Usually I will get a call from 1 or 2 of them in the morning saying that they cannot log onto the server. The message they keep receiving is that their domain password is incorrect. I have exhausted myself with research and cannot find a fix for this. So far my only resolution has been to restart the smb service. Once I do that, my two users can immediately log in. This as you can guess creates issues for those who were logged in. Also, at some point during the day I will get a series of calls from a different set of users stating that they cannot access they're share anymore. But, if we wait five minutes or so it comes right back. There is no need to log off and back on again. Print ques also seem to be affected. I've tried to look for something that is consistent about this problem and so far it is only the times of day that it happens. Usually around 9am or 1pm. Nothing else clicks. I'm using '98, 2k and XP clients throughout my building. It originally started out that it was only the '98 systems who were effected but lately it has spread to some 2k machines. XP does not have the password problem but we do lose access to shares. It just seems to randomly pick users at will. It does not keep happening to the same individual or machine. On top of all of that my putty (ssh) sessions now blow up once in a while. I was using webmin as a guide but it kept going wild on my smbpasswd file so I removed it. Since it's removal my files have not been mysteriously altered. Has anyone else experienced the same problem and can help guide me in the right direction? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Migrating Profiles: Revisited
I was in the same boat as you , and found an easy way to do this. So long as you have a PDC that resists roaming profiles, it should go like this: 1) Join the computer and log on with the domain account. 2) Log off the domain account and log on again as administrator (I think I used the local admin, though it shouldn't matter). 3) Go to where you manage the profiles in System Properties, and set the new profile (marked by the domain name) to Local if it isn't already, and then copy the previous workgroup/local profile to the place on your HD where the new domain local profile is. That's it. When you log on, it should be back, though I did have problems with losing Outlook account passwords (I hate that program) and a bug in Office 2K prevents you from opening graphics using Photo Editor, but there is a M$ KB article on that, as it gives you a specific error that you will find an easy search result for (I'm just forgetting what it is). My best, Dan Gapinski - Original Message - From: Jason Williams [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 2:53 PM Subject: [Samba] Migrating Profiles: Revisited Hello everyone. Well, i've tried to figure this out on my own by asking questions and reading the how-to provided by John. I've followed the directions accordingly, but there are a few catches i've noticed that seem to be throwing me a curve or to. Let me recap. Basically, i've setup our samba PDC with LDAP. I originally was going to use roaming profiles, but decided against it this morning as I felt it would not benefit us for what we are doing. So I decided to stick with local profiles. Now, as it is at this moment, each user logs into their workstation and uses their local profile. Our network is currenty setup in a peer-to-peer. But, soon, everyone will be joining the domain. It is at this point, that I want to make sure that once the computer has been joined to the domain and the user logs onto the domain, that user(s) will continue to use their original local profile. According to the How-To, I need to disable roaming profiles, which I have done in smb.conf. Also, I was told that I need to copy the users local profile as in the .pdf, chapter 22, 2.2.4. My question is, if im going to copy the profile to a certain location (lets say c:\profiletest), that is no problem. The problem I am failing to understand is how to make sure, when the user logs on, they will be able to use that profile. I dont need to copy the profile to the PDC since I am not using roaming profiles. I've tried copying the profile to a temp location on the local computer, but when I log in with my testuser, into the domain, it creates a new profile and does not use my original local profile. So i'm missing a step somewhere on how to get the original local profile back up and running when the user logs into the domain. I apologize if this seems redundant, but im very close to getting this solved and moving along to my next task. I appreciate everyones input. Cheers, Jason -- 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] edirectory and samba
Essentially, at this point my head is about to explode. I have been able to update the most recent samba-nds.schema from the LDAP CVS at samba.org. And I can add posixAccount users with the LDAPTools. But I cannot add anyone as a sambaAccount (./smbldap-useradd -a username). Each time, it adds the posixAccount portion to eDirectory, and then failes the sambaAccount add portion. Is there ANYONE who has some experience using the LDAPTools from IdealX with eDirectory? Anyone at all? Is there some error in the scripts? Or some addition/modification I need to make to NDS? Many thanks in advance! Tori -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Users losing connection at random
what linux distro are you using...I had myseterious dropped connections with SUSE -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:30 PM To: [EMAIL PROTECTED] Subject: [Samba] Users losing connection at random First let me start off by thanking you for your time. I have what I think is a unique problem. Daily on average there are about 67 users that connect to my server. Usually I will get a call from 1 or 2 of them in the morning saying that they cannot log onto the server. The message they keep receiving is that their domain password is incorrect. I have exhausted myself with research and cannot find a fix for this. So far my only resolution has been to restart the smb service. Once I do that, my two users can immediately log in. This as you can guess creates issues for those who were logged in. Also, at some point during the day I will get a series of calls from a different set of users stating that they cannot access they're share anymore. But, if we wait five minutes or so it comes right back. There is no need to log off and back on again. Print ques also seem to be affected. I've tried to look for something that is consistent about this problem and so far it is only the times of day that it happens. Usually around 9am or 1pm. Nothing else clicks. I'm using '98, 2k and XP clients throughout my building. It originally started out that it was only the '98 systems who were effected but lately it has spread to some 2k machines. XP does not have the password problem but we do lose access to shares. It just seems to randomly pick users at will. It does not keep happening to the same individual or machine. On top of all of that my putty (ssh) sessions now blow up once in a while. I was using webmin as a guide but it kept going wild on my smbpasswd file so I removed it. Since it's removal my files have not been mysteriously altered. Has anyone else experienced the same problem and can help guide me in the right direction? -- 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] Migrating Profiles: Revisited
That almost works. I ran into a few different things, but it almost works. Basically, this is what I did; 1) Joined the computer to the domain with the correct account 2) logged into the domain with the user (this created the initial profile on the local machine) 3) logged back into the machine with the local administrator account (did not log into the domain) 4) verified the new profile was local, which it was 5) navigated to c:\documents and settings (all machines are Windows 2000) 6) in there, there were two profiles: testuser and testuser.PDCSERVER (.PDCSERVER was the newly created profile when the user first logs into the domain) 7) I copied all the contents of testuser folder into the testuser.PDCSERVER folder When I logged back in, it seemed like it was working, but ran into a few snags. 1) The background image did not copy over 2) It wanted me to re-establish my network connection I'm not exactly sure why it did that, but it does. Seems like a lot of work to make sure my users are using local profiles. You would think there would be a easier way to do this. Is there another way to do this, or is this the only way? Thanks! Jason At 03:39 PM 5/29/2003 -0500, you wrote: I was in the same boat as you , and found an easy way to do this. So long as you have a PDC that resists roaming profiles, it should go like this: 1) Join the computer and log on with the domain account. 2) Log off the domain account and log on again as administrator (I think I used the local admin, though it shouldn't matter). 3) Go to where you manage the profiles in System Properties, and set the new profile (marked by the domain name) to Local if it isn't already, and then copy the previous workgroup/local profile to the place on your HD where the new domain local profile is. That's it. When you log on, it should be back, though I did have problems with losing Outlook account passwords (I hate that program) and a bug in Office 2K prevents you from opening graphics using Photo Editor, but there is a M$ KB article on that, as it gives you a specific error that you will find an easy search result for (I'm just forgetting what it is). My best, Dan Gapinski - Original Message - From: Jason Williams [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 2:53 PM Subject: [Samba] Migrating Profiles: Revisited Hello everyone. Well, i've tried to figure this out on my own by asking questions and reading the how-to provided by John. I've followed the directions accordingly, but there are a few catches i've noticed that seem to be throwing me a curve or to. Let me recap. Basically, i've setup our samba PDC with LDAP. I originally was going to use roaming profiles, but decided against it this morning as I felt it would not benefit us for what we are doing. So I decided to stick with local profiles. Now, as it is at this moment, each user logs into their workstation and uses their local profile. Our network is currenty setup in a peer-to-peer. But, soon, everyone will be joining the domain. It is at this point, that I want to make sure that once the computer has been joined to the domain and the user logs onto the domain, that user(s) will continue to use their original local profile. According to the How-To, I need to disable roaming profiles, which I have done in smb.conf. Also, I was told that I need to copy the users local profile as in the .pdf, chapter 22, 2.2.4. My question is, if im going to copy the profile to a certain location (lets say c:\profiletest), that is no problem. The problem I am failing to understand is how to make sure, when the user logs on, they will be able to use that profile. I dont need to copy the profile to the PDC since I am not using roaming profiles. I've tried copying the profile to a temp location on the local computer, but when I log in with my testuser, into the domain, it creates a new profile and does not use my original local profile. So i'm missing a step somewhere on how to get the original local profile back up and running when the user logs into the domain. I apologize if this seems redundant, but im very close to getting this solved and moving along to my next task. I appreciate everyones input. Cheers, Jason -- 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] Migrating Profiles: Revisited
Did you copy using File Manager or Windows 2000 Profile Manager? The latter seems to work far better, aside from the aforementioned snags. I used the former and had to do it all over. Dan - Original Message - From: Jason Williams [EMAIL PROTECTED] To: Dan Gapinski [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 4:13 PM Subject: Re: [Samba] Migrating Profiles: Revisited That almost works. I ran into a few different things, but it almost works. Basically, this is what I did; 1) Joined the computer to the domain with the correct account 2) logged into the domain with the user (this created the initial profile on the local machine) 3) logged back into the machine with the local administrator account (did not log into the domain) 4) verified the new profile was local, which it was 5) navigated to c:\documents and settings (all machines are Windows 2000) 6) in there, there were two profiles: testuser and testuser.PDCSERVER (.PDCSERVER was the newly created profile when the user first logs into the domain) 7) I copied all the contents of testuser folder into the testuser.PDCSERVER folder When I logged back in, it seemed like it was working, but ran into a few snags. 1) The background image did not copy over 2) It wanted me to re-establish my network connection I'm not exactly sure why it did that, but it does. Seems like a lot of work to make sure my users are using local profiles. You would think there would be a easier way to do this. Is there another way to do this, or is this the only way? Thanks! Jason At 03:39 PM 5/29/2003 -0500, you wrote: I was in the same boat as you , and found an easy way to do this. So long as you have a PDC that resists roaming profiles, it should go like this: 1) Join the computer and log on with the domain account. 2) Log off the domain account and log on again as administrator (I think I used the local admin, though it shouldn't matter). 3) Go to where you manage the profiles in System Properties, and set the new profile (marked by the domain name) to Local if it isn't already, and then copy the previous workgroup/local profile to the place on your HD where the new domain local profile is. That's it. When you log on, it should be back, though I did have problems with losing Outlook account passwords (I hate that program) and a bug in Office 2K prevents you from opening graphics using Photo Editor, but there is a M$ KB article on that, as it gives you a specific error that you will find an easy search result for (I'm just forgetting what it is). My best, Dan Gapinski - Original Message - From: Jason Williams [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 2:53 PM Subject: [Samba] Migrating Profiles: Revisited Hello everyone. Well, i've tried to figure this out on my own by asking questions and reading the how-to provided by John. I've followed the directions accordingly, but there are a few catches i've noticed that seem to be throwing me a curve or to. Let me recap. Basically, i've setup our samba PDC with LDAP. I originally was going to use roaming profiles, but decided against it this morning as I felt it would not benefit us for what we are doing. So I decided to stick with local profiles. Now, as it is at this moment, each user logs into their workstation and uses their local profile. Our network is currenty setup in a peer-to-peer. But, soon, everyone will be joining the domain. It is at this point, that I want to make sure that once the computer has been joined to the domain and the user logs onto the domain, that user(s) will continue to use their original local profile. According to the How-To, I need to disable roaming profiles, which I have done in smb.conf. Also, I was told that I need to copy the users local profile as in the .pdf, chapter 22, 2.2.4. My question is, if im going to copy the profile to a certain location (lets say c:\profiletest), that is no problem. The problem I am failing to understand is how to make sure, when the user logs on, they will be able to use that profile. I dont need to copy the profile to the PDC since I am not using roaming profiles. I've tried copying the profile to a temp location on the local computer, but when I log in with my testuser, into the domain, it creates a new profile and does not use my original local profile. So i'm missing a step somewhere on how to get the original local profile back up and running when the user logs into the domain. I apologize if this seems redundant, but im very close to getting this solved and moving along to my next task. I appreciate everyones input. Cheers, Jason -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To
Re: [Samba] edirectory and samba
Can you add sambaAccount with ConsoleOne? Tori Williamson wrote: Essentially, at this point my head is about to explode. I have been able to update the most recent samba-nds.schema from the LDAP CVS at samba.org. And I can add posixAccount users with the LDAPTools. But I cannot add anyone as a sambaAccount (./smbldap-useradd -a username). Each time, it adds the posixAccount portion to eDirectory, and then failes the sambaAccount add portion. Is there ANYONE who has some experience using the LDAPTools from IdealX with eDirectory? Anyone at all? Is there some error in the scripts? Or some addition/modification I need to make to NDS? Many thanks in advance! Tori -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Users losing connection at random
On Thu, 29 May 2003 [EMAIL PROTECTED] wrote: First let me start off by thanking you for your time. No problem. Where do we send trhe invoice? :) I have what I think is a unique problem. Daily on average there are about 67 users that connect to my server. Usually I will get a call from 1 or 2 of them in the morning saying that they cannot log onto the server. The message they keep receiving is that their domain password is incorrect. I have exhausted myself with research and cannot find a fix for this. So far my only resolution has been to restart the smb service. Once I do that, my two users can immediately log in. This as you can guess creates issues for those who were logged in. Also, at some point during the day I will get a series of calls from a different set of users stating that they cannot access they're share anymore. But, if we wait five minutes or so it comes right back. There is no need to log off and back on again. Print ques also seem to be affected. I've tried to look for something that is consistent about this problem and so far it is only the times of day that it happens. Usually around 9am or 1pm. Nothing else clicks. I'm using '98, 2k and XP clients throughout my building. It originally started out that it was only the '98 systems who were effected but lately it has spread to some 2k machines. XP does not have the password problem but we do lose access to shares. It just seems to randomly pick users at will. It does not keep happening to the same individual or machine. What security mode setting is in you smb.conf file? Are you using WINS? (if so, is samba the WINS server?, Is it on this box?) Is this the PDC? (if not, what is your smb.conf entry for password server =?) - John T. On top of all of that my putty (ssh) sessions now blow up once in a while. I was using webmin as a guide but it kept going wild on my smbpasswd file so I removed it. Since it's removal my files have not been mysteriously altered. Has anyone else experienced the same problem and can help guide me in the right direction? -- 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
RE: [Samba] edirectory and samba
Yeah, I can add it in, but there are two issues: One, I don't know what to add beyond the rid that's might be important, nor do I know how to add a machine name. I don't have any LDIF examples to go off of. That would be a fall back for me of sorts if I could. The bigger issue, is that I was hopping to use the smbldap-passwd.pl script that SMB access to change the users domain password. That script works fine, until the presence of sambaAccount in the user entry. Then it freaks out and updates nothing. Take the sambaAccount objectClass out of the entry, and all is fine for using the script to change passwords again. I just wish I know what the problems with the sambaAccount objectClass and it particular attributes were. The schema added fine. It's to bad the error messages aren't more specific to the problem. Tori -Original Message- From: Petri Asikainen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:01 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] edirectory and samba Can you add sambaAccount with ConsoleOne? Tori Williamson wrote: Essentially, at this point my head is about to explode. I have been able to update the most recent samba-nds.schema from the LDAP CVS at samba.org. And I can add posixAccount users with the LDAPTools. But I cannot add anyone as a sambaAccount (./smbldap-useradd -a username). Each time, it adds the posixAccount portion to eDirectory, and then failes the sambaAccount add portion. Is there ANYONE who has some experience using the LDAPTools from IdealX with eDirectory? Anyone at all? Is there some error in the scripts? Or some addition/modification I need to make to NDS? Many thanks in advance! Tori -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Making winbindd and pam_mount play nice together (2nd try)
Are you folders shared on the windows side. The individual folders need to be shared, not a level above apparently. On Thu, 29 May 2003 14:09:35 -0500 Bradley Wendelboe [EMAIL PROTECTED] wrote: I'm also trying to get this working with the same results on RH 9/Samba 2.2.7a/pam_mount 0.9.1 Bradley -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Making winbindd and pam_mount play nice together (2nd try)
Yes, I'm going to individual shares. It seems that pam_mount is not getting the password information from the PAM system. I've contacted the author of pam_mount and will share any results. So far: Several people are trying to get pam_mount working with winbind. I don't have a winbind setup myself, so it is difficult for me to debug. Please be patient. The only hypothesis I have at this point revolves around pam_mounts use of functions like getpwnam to retrieve information about a user's account. Theoretically, if one configures /etc/nsswitch.conf correctly, getpwnam can use services besides /etc/passwd (ie: winbind) to answer questions about a user. Pam_mount uses getpwnam to do the following: 1. Determine where ~/.pam_mount.conf is. 2. Determine the UID and GID that should own a mount point created by pam_mount. 3. Determine the UID and GID that should own a user's session count file (/var/run/pam_mount/user). 4. Ensure a user owns mount points and volumes for volumes defined by ~/.pam_mount.conf. The only other suspect action I can think of is pam_mount's retrieval of a user's password from the PAM system. I don't think this should be an issue if you use pam_winbind to authenticate users. Do any of these hints help? -Original Message- From: John Simovic [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 3:21 AM To: [EMAIL PROTECTED] Subject: Re: [Samba] Making winbindd and pam_mount play nice together (2nd try) Are you folders shared on the windows side. The individual folders need to be shared, not a level above apparently. On Thu, 29 May 2003 14:09:35 -0500 Bradley Wendelboe [EMAIL PROTECTED] wrote: I'm also trying to get this working with the same results on RH 9/Samba 2.2.7a/pam_mount 0.9.1 Bradley -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** -- 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] Making winbindd and pam_mount play nice together (2nd try)
My problem is that I am using rh 8 and cannot winbind to authenticate users. wbinfo returns all users and groups and getent passwd works but no joy! On Thu, 29 May 2003 17:33:14 -0500 Bradley Wendelboe [EMAIL PROTECTED] wrote: Yes, I'm going to individual shares. It seems that pam_mount is not getting the password information from the PAM system. I've contacted the author of pam_mount and will share any results. So far: Several people are trying to get pam_mount working with winbind. I don't have a winbind setup myself, so it is difficult for me to debug. Please be patient. The only hypothesis I have at this point revolves around pam_mounts use of functions like getpwnam to retrieve information about a user's account. Theoretically, if one configures /etc/nsswitch.conf correctly, getpwnam can use services besides /etc/passwd (ie: winbind) to answer questions about a user. Pam_mount uses getpwnam to do the following: 1. Determine where ~/.pam_mount.conf is. 2. Determine the UID and GID that should own a mount point created by pam_mount. 3. Determine the UID and GID that should own a user's session count file (/var/run/pam_mount/user). 4. Ensure a user owns mount points and volumes for volumes defined by ~/.pam_mount.conf. The only other suspect action I can think of is pam_mount's retrieval of a user's password from the PAM system. I don't think this should be an issue if you use pam_winbind to authenticate users. Do any of these hints help? -Original Message- From: John Simovic [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 3:21 AM To: [EMAIL PROTECTED] Subject: Re: [Samba] Making winbindd and pam_mount play nice together (2nd try) Are you folders shared on the windows side. The individual folders need to be shared, not a level above apparently. On Thu, 29 May 2003 14:09:35 -0500 Bradley Wendelboe [EMAIL PROTECTED] wrote: I'm also trying to get this working with the same results on RH 9/Samba 2.2.7a/pam_mount 0.9.1 Bradley -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** -- 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 ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] client side permisions of a samba directory
On Thu, May 29, 2003 at 09:25:38AM -0700, Steve deRosier wrote: I've recently noticed that when I have a directory remotely mounted via samba to my linux desktop, the mode bits of directories and files in it don't necessarily resemble those of the actual files on the server. Neither does a chmod seem to have any effect. I noticed that smbmount has a fmask and a dmask argument and these arguments control what I view the mode as. Leaving out these arguments just gets me a different mask. Question: How can I get my mounted directory to simply behave just like any other directory? I just want to be able to view and modify the REAL mode bits from my konsole. Answer: don't use smbfs. You can't see or change the permissions on smbfs-mounted filesystems. If you need to be able to change permissions you should use some UNIX-native filesystem, like NFS. I think I've heard that the upcoming Linux replacement for smbfs (cifs) and the unix extensions in current versions of Samba will work much better for UNIX-UNIX mounts, but I haven't looked in to that. -- Michael Heironimus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Weird permissions on samba shared printers
No real idea but: This manage printers and manage documents stuff. Is this anything that is reported by unix or lprng? What does manage documents mean? The ability to run lprm and the like. What does manage printers mean? The ability to run queueresume or queuepause? I don't know how samba and lprng could report this information. Maybe cups allows this sort of thing to be reported, but I know nothing about cups. Joel On Thu, May 29, 2003 at 03:01:57PM -0400, Strange, John wrote: Well, I'm having some odd permissions created when I install a shared printer from a samba server. No matter what the remote host is I'll always end up with the following permissions on printers when installed on a client. http://www.strangeness.org/security.jpg I've got the drivers to update perfectly and now this is my last hurdle in setting up the print server. It seems to work okay but I still don't like the way it creates the permissions. I've tried searching google and finding somewhat related issues but they never seem to get anywhere so I'm hoping someone can help me find the answer. Here's some related information about the server and config: samba 2.2.7 #=== Global Settings = [global] workgroup = x netbios name = server string = Samba Server %v printcap name = /etc/printcap load printers = yes printing = lprng guest account = nobody log file = /var/log/samba/%m.log max log size = 0 security = domain password server = xx encrypt passwords = yes update encrypted = yes smb passwd file = /etc/samba/smbpasswd socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 remote browse sync = xxx.xxx.xxx.xxx local master = yes os level = 66 preferred master = yes wins server = xxx.xxx.xxx.xxx dns proxy = no show add printer wizard = yes printer admin = [print$] path = /var/spool/samba/printers guest ok = yes browseable = yes read only = yes ; since this share is configured as read only, then we need ; a 'write list'. Check the file system permissions to make ; sure this account can copy files to the share. If this ; is setup to a non-root account, then it should also exist ; as a 'printer admin' write list = jstrange [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writeable = no printable = yes -- 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] Users losing connection at random
What happens if you just restart the service with kill -1 PIDofFirstSmbd. This should not bother the existing connections. Joel this. So far my only resolution has been to restart the smb service. Once I do that, my two users can immediately log in. This as you can guess creates issues for those who were logged in. Also, at some point -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Folder redirection on samba
Documentation Comment: In case of NT4 policies, the document describes how to create them, and where to place them (netlogon share) and how it will be used. Is it possible to use Group Policies, with SAMBA 3.0? Can one just create the .adm templates described and drop them some where (SYSVOL share?) so that they automatically come into effect. Since SAMBA 3.0 cannot function as an AD Server (if I understand things correctly), it cannot be used for Group Policy Objects. Is this right? If so, a note to that effect in the documentation would be useful. - Murali John H Terpstra wrote: On Thu, 29 May 2003, Murali krishnan Ganapathy wrote: Policy handling and profile configuration is rather well covered in the new HOWTO that will ship with Samba-3. I would appreciate feedback from people who have reviewed the two (2) chapters on these subjects and any contributions of corrections or additional material you might consider valuable to others. You may obtain the current form of the HOWTO from: http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdf In particular please refer to chapters 21 22. Cheers, John T. -- 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
Samba built with this change will not report NT_STATUS_UNSUCCESSFUL when you execute adddriver subcommand of rpcclient. I found reference to this in one of your posts and in Samba's bugzilla database. I've tried commenting out this code, rebuilding, installing, etc. but I still get the error. Unfortunately, many conditions can lead to the same symptoms. Omitting a mandatory field in the third parameter, mixing files from different levels, versions and OS's, improper path permissions, etc. You should increase the logging level drastically, e.g. smbcontrol smbd debug 999 execute the command, reduce the logging level and pore over the logs. The other bug prevents rpcclient's enumdrivers subcommands from completing and can be fixed by .. This fix is in the CVS version I checked out. Their fix is slightly different, but I can see it does the same thing. Another problem is building a fixed version of Samba. Somehow, the Linux vendors refrain from .. I'm running on Slackware, so there's a Slackbuild script in the source tree that explains how Samba was built. At the moment I'm just doing a standard ./configure build as I just want to see if this printing will work smoothly. As of the current CVS checkout I made yesterday, and trying your commenting-out fix, I still get the errors. Might it be, that your edits get somehow ignored by the build script? Dumb question, perhaps. 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
[Samba] Machine Startup Script
As far as I know, SAMBA 2.2.8a (I think SAMBA 3.0 also) does not support machine startup scripts (not user logon scripts). How are people dealing with them? They can be very useful to automate software installs across a whole bunch of machines. - Murali -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: python bindings api
On Thu, May 29, 2003 at 08:30:50AM -0500, Brett A. Funderburg wrote: This looks like a problem in Samba's unmarshalling of security descriptors. I'd be interested in seeing a debug level 10 log of what is happening here. Add 'debug level = 10' to your smb.conf file to get this. I'm happy to send this to you. Where will the output go? It should go to standard output. As an historical note, the python smb module is more of an experiment that anything particularly useful at the moment. I was initially using it to write some tests for a security descriptor project I was working on. I've only implemented the bare minimum number of calls required to get and set security descriptors on a file share. What do you think it needs in order to be production quality? I might be interested in lending a hand here. Well I'm not sure exactly what you would do in production with this module but it sounds like you have thought of something. I was thinking that development of this module would occur as people think of useful things to do with it. I'd be happy to look at any contributions if you are interesting in making any. I have no immediate plans for this module at the moment. Tim. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba and mapping directories for software
Hello again everyone. :) Well, i've finally fixed a number of problems that I was having with my samba/LDAP PDC. Now, its just a matter of setting up some of our users software so they can access the data on the server. I will try and explain this issue as best as I can without being to wordy. :) We use a program called point. Point holds files in multiple directories on the network server. For our instance, it is holding data in directories below /home/point (/home/point/pntdata, /home/point/leads and so forth). The way point works is that each client has a local version of the software installed on their computer. The software is then setup to point to where the data is being held. In this instance, I would setup the software to point to the samba PDC and into the /home/point folders. (Which ever ones I needed to specifically point to.) This is done with a little tool that the program comes with. In a nutshell, it's almost like mapping a network drive to a directory on the server for the program. Now, where it gets interesting and confusing is that it wont actually let me save the settings. Meaning, I can load up the utility to set the network paths, browse to the directory (/home/point/pntdata) have it all set, but when I click on OK, it does not save it. I've checked ownership, permissions, my smb.conf, everything I can think of, but it will not let me map the network path. So i've come to a stalemate in how to fix this issue and need everyones help here. I thought i'd throw a few things in here in hopes of getting a fix to this issue. smb.conf: [Point] comment = Point Program path = /home/point read only = no writable = yes browseable = yes create mode = 660 directory mode = 770 admin users = @domadm force group = +cm /home/ drwxrwx--- 51 root cm 4096 May 29 15:12 point I have made sure that the test user is in fact in the cm group. (The permissions, owner and group are the same down the following directories.) The only other bit of information I can provide is some info from my logs: [2003/05/29 17:37:25, 2] smbd/open.c:open_file(243) bionic opened file PNTDATA/FOLDER.INI read=Yes write=No (numopen=1) [2003/05/29 17:37:25, 2] smbd/open.c:open_file(243) bionic opened file PNTDATA/FOLDER.SEC read=Yes write=No (numopen=2) [2003/05/29 17:37:25, 2] smbd/close.c:close_normal_file(227) bionic closed file PNTDATA/FOLDER.SEC (numopen=1) [2003/05/29 17:37:36, 2] smbd/close.c:close_normal_file(227) bionic closed file PNTDATA/FOLDER.INI (numopen=0) [2003/05/29 17:38:42, 2] lib/access.c:check_access(327) Allowed connection from (192.168.1.220) [2003/05/29 17:38:46, 2] lib/access.c:check_access(327) Allowed connection from (192.168.1.220) [2003/05/29 17:38:51, 2] smbd/open.c:open_file(243) PNTDATA is located in /home/point/PNTDATA Not sure if this can help, but thought i'd put it in here. One quick note: About 1 1/2 months ago, I was doing some testing with our new point software on another samba server. This one worked fine and allowed me to map the drives with problems at all. I pretty much made the owner and group nobody.nobody with 777 permissions. I tried this on my current setup but no luck. I thank you for everyones help and really look forward to finding out what the problem is. Best, Jason -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Slow performance with QuickBooks
That's strange. Samba shouldn't be able to get close to FTP speeds. I was able to get 10.5MB/sec with FTP and only 7.59MB/sec with Samba. I'm running on a switched 100Mb network. The network seems to be my limitation in my case as my server hard drives seem to be able to output about 20MB/sec. I can get the same speeds on Win98 as I can on WinXP. You have to tune a default Win98's TCP/IP performance to get the best results out of it. quote who=Brandon Lederer I used an Excellent Loaded WINXP computer today. Samba is outspeeding FTP. Approaching 7 MB / sec on reads, 6 MB / sec on writes. Linux sees these speeds on FTP. Unable to test sambaclient on Linux. This isn't anything to complain about, albeit there is _better_. But a decent 98SE machine cant touch these speeds. Is there any explanation as to why? -- 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] Samba Dropouts...
OK, I have been banging my head into the wall on this now for two or more weeks We have a samba server (2.2.8 then 2.2.8a) running on top of a 320 GB raid ATA-raid array with a FastTrack controller. Both the server and workstations are running through Gigabit NIC's. Every five or so minutes the workstations loose communications with the server, Then it takes 10-15 seconds for the workstations to reconnect to the server. The times are not specific, for example it can take anywhere from 1 minute to 3 hours between drop outs, but when we put a workstation under load it is (approx) 5-7 minutes between drop outs. Sometimes all stations loose the connection at once, sometimes it is only one workstation. It does not occur in any other program except Samba. If I don't get this fixed soon my boss is going to make me go back to (shutters) windows Globals section of the smb.conf file goes something like --- #Server Identification workgroup = GENESIS netbios name = EXODUS netbios aliases = INSTALLERS server string = Fedler studio Samba Server #Server Settings log file = /data/system/samba/logs/%m.log log level = 1 max log size = 5000 OS level = 99 #Security Settings security = user smb passwd file = /data/system/samba/smbpasswd encrypt passwords = yes pam password change = yes #Networking settings #interfaces = 10.0.0.16/24 #dns proxy = no wins support = yes preferred master = yes #Domain Controller propertys domain logons = yes logon drive = y: logon home = \\EXODUS\%U logon script = logon.bat domain admin group = @dAdmin [netlogon] path = /data/system/samba/netlogon comment = network Logon Share guest ok = yes writable = no share modes = no --- Any help whatsoever would be appreciated Andrew -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] The Proper Way to Back Up a Samba PDC
Good after noon, I asked a question earlier and I am not sure if I worded the heading properly, but we want to upgrade our Samba Server acting as a PDC for a WindowsXP network to Red Hat 9.0. Our plan is to format the drive and install the new O/S and restore the appropriate user files and Samba directory. Is this the proper way to do it or are we missing something? TIA _ Bruce P. Morin SafePoint E-Technology Group, LLC. phone: +1 860 410 0790 email: [EMAIL PROTECTED] web: http://www.safepointetech.com _ 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] ShowMessage (second attempt)
A great program for Win9x machines if you still have them (like we do :)) is justpop. Do a Google search for JUSTPOP.EXE -- it's a free-standing program, and mimicks the behavior of the NT/2K messenger service... no facility to write back, just a clean box with an [OK] button and the message and the user it came from. I use it with LPRng to be notified at the help desk of printer errors. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Wed, 21 May 2003, Dan Shadix wrote: Googling for winpopup linux gives at least two possibilities, LinPopUp and Kpopup. You'll have to have winpopup running on Win9x, and (I believe) the messenger service on NT4, 2K, XP. -- Original Message -- From: A.J.Dawson [EMAIL PROTECTED] Date: Wed, 21 May 2003 09:07:31 +0100 (GMT Daylight Time) I could also *really* do to use this feature now and again! Regards Dr. Andy Dawson [EMAIL PROTECTED] http://www.mossie.org http://www.museum-explorer.org.uk Never attribute to malice that which is adequately explained by stupidity. On Tue, 20 May 2003, Nicholas Metsovon wrote: Surely someone out there knows how to notify their Windows users that access to their samba server is going to be terminated Any help will be *greatly* appreciated. -- Original Message --- I would like to shut down samba before I begin my backup routine. Before I do this, I would like to send a message to the users who are logged in on their Windows machines, asking them to log out. I would prefer this to be like a ShowMessage dialog box, if possible. Could anyone please tell me how I can do this? A Redhat tech support specialist told me he thinks this is possible through samba or smb-client. __ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.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 -- 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] OT: Sis 900 Ethernet adapter problem
I /did/ have Linux on one of these, but no longer. I can't remember what driver the SiS900 uses, but I remember I did find my answers online. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Tue, 20 May 2003, Juan Luis Moyano wrote: Hello All, I've recenly installed RedHat Linux 9 in my Celvin EasyPC from Fujitsu Siemens. I've installed the minimal instalation. Video card, mouse, keyboard and everithing was detected and configured properly (I could install the packages in graphical mode). The problem came when I tried to ping another machine in my home network, all packages were being lost, so I checked at the hub and at the LINK led of the connector at the back of the box and both were off. But the strange thing is that linux can bring up the NIC without any problem. I have also a W98 installed at the same box and the NIC works fine with it. Could anybody please shed some light on this? Many thanks in advance, Juan Luis Moyano -- 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] Office 97 dont open .doc files
That's the way it works, as far as I remember. I'm not familiar with fake oplocks, but we use something similar (turning them off -- might be the same command aliases, actually -- not sure). Office does not play well with oplocks. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Wed, 21 May 2003, Joern Krebs wrote: Hi, I have the following problem: (I'm not sure if have to send this message to you, or to Microsoft. ;-) Samba 2.2.3a or 2.2.8a (not restarted yet) Network of Windows NT 4.0 PCs and one Windows 2000 Server. The Windows NT Workingsations are working fine, but now I have to integrate an Windows 2000 Server and with this Server I have the following problem. When I open an X.doc-file Office 97 tells me, that the file is already openend by the same User. When I open an XX.dot-file everything is O.K. And after enabling fake oplocks for this share everything is also working fine on X.doc-Documents. I think I can live with this fake oplocks (hopefully there won't be two users working on the same file), but after I am responsible for the system this is not a satifying solution. Does anyone know the problem or has an other solution. Ciao, Joern! -- 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] Cups printer shared via samba require drives to be mapped
Hello, I am sharing my cups printers via samba (2.2.7) on a redhat 7.3 machine running a firewall configured with iptables. I have included my smb.conf file below. My problem is that windows machines can setup the printer just fine, search for the the server astro, the users enter their smb passwd and username and they can ste up the printer. However I find everytime they reboot their machine, they can no longer print to the printer. It is still there but print jobs just sit there. If the user, accesses a shared drive such as /home or /data. They are able to print again after clearing the print queue. I have got around this problem temporarily by mapping a network drive from the server astro on the windows machines however sometimes, windows for some unknown loses this mapped drive (even though I have set reconnect at logon). Does this seem like normal behaviour? Is there someway to get around having to map a network drive to get the printer to work? Thanks, melinda [global] workgroup = ASTROPHYSICS server string = Astro hosts allow = 129.94.162. 129.94.163. 127. printcap name = /etc/printcap load printers = yes printing = cups printcap name = cups guest account = smb log file = /var/log/samba/%m.log max log size = 0 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* pam password change = yes obey pam restrictions = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = no [homes] comment = Home Directories browseable = no writable = yes valid users = %S create mode = 0664 directory mode = 0755 [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = Yes writable = no printable = yes [print$] comment = Printer Drivers path = /etc/samba/drivers browseable = yes guest ok = no read only = yes write list = @cups [Data] comment = %U Data Directory path = /data/%U valid users = %U public = no writable = yes printable = no Thanks, Melinda -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [samba] Macintosh OS 9.2 and SMB Networks
Note that Netatalk is Linux only... or is it these days? It /was/. That's why I don't use it -- I actually needed the Appletalk print util from it but was unable to use it without the appropriate Linux kernel mods (don't use Linux here). _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Wed, 21 May 2003, Khanh Tran wrote: Some use Dave (http://www.thursby.com/products/dave.html) or DoubleTalk (http://www.connectix.com/products/dt.html). However, we use Netatalk (http://netatalk.sourceforge.net/) successfully to share the Unix/Samba file system with our Mac clients. Is there any reason you can't use Netatalk? Khanh Tran Network Operations Sarah Lawrence College -Original Message- From: Corey Hart [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2003 10:55 AM To: [EMAIL PROTECTED] Subject: [samba] Macintosh OS 9.2 and SMB Networks Has anyone successfully got OS 9.2 to access SAMBA shares? I have tired looking for documentation on how to do this, but have come up with very limited information. Any help is greatly appreciated. -- 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] Net bios Look ups
Using WINS is really the stable way to go -- any reason you can't? _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Thu, 22 May 2003, Paul Kraus wrote: No wins server. All done by broadcast. -Original Message- From: David Morel [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2003 1:28 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Net bios Look ups -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Kraus wrote: | For some reason all of my Linux servers all of a sudden can't look up | net bios names. Everything has been working great for months. | | If I do an smbclient -L ipaddress on any of them they all can see the | master browser and show its name in the output. | | But if I try and do an smbclient -L systemname it immediately dumps | out to the internet and tries to resolve the name using DNS. | | This of course does not work. | | I have many scripts that rely on mount -t smbfs that no longer work | because they can not resolve the names. My internal network is all | dhcp assigned addresses so that I can not hard code. I should not have | to any ways. | | This is on all of the servers not just one. I am really at a loss and | its driving me nuts. Going on day 7 of trying to figure this out. It | has to be something stupid. Something I am over looking. I posted | something similar a couple of days ago and didn't get one response. I | have to resolve this. This is the reason my employer didn't want me | going the Linux route. I talked them into it but I have to have | resolution ASAP. Please any assistance would be very appreciated. | | | HELP, | Paul | is a wins server active ? or are name resolutions done by broadcast ? - -- *** [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+zRauqr7QF98duCMRAqKaAKCXGUTrQoVP9RiXZciZSNofj2IYMgCeL6Uj o8HOlUGxSGPTNQ6qKBfUd5s= =ATRo -END PGP SIGNATURE- -- 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] Macintosh OS 9.2 and SMB Networks
Netatalk looks to support non Linux... From their site: netatalk is a daemon which provides POSIX-compliant *NIX/*BSD systems with the ability to share files and printers with Apple Macintosh computers. - Original Message - From: Ryan Novosielski [EMAIL PROTECTED] To: Samba Mailing List [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 10:17 PM Subject: RE: [samba] Macintosh OS 9.2 and SMB Networks Note that Netatalk is Linux only... or is it these days? It /was/. That's why I don't use it -- I actually needed the Appletalk print util from it but was unable to use it without the appropriate Linux kernel mods (don't use Linux here). _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Wed, 21 May 2003, Khanh Tran wrote: Some use Dave (http://www.thursby.com/products/dave.html) or DoubleTalk (http://www.connectix.com/products/dt.html). However, we use Netatalk (http://netatalk.sourceforge.net/) successfully to share the Unix/Samba file system with our Mac clients. Is there any reason you can't use Netatalk? Khanh Tran Network Operations Sarah Lawrence College -Original Message- From: Corey Hart [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2003 10:55 AM To: [EMAIL PROTECTED] Subject: [samba] Macintosh OS 9.2 and SMB Networks Has anyone successfully got OS 9.2 to access SAMBA shares? I have tired looking for documentation on how to do this, but have come up with very limited information. Any help is greatly appreciated. -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Group Question For Samba
This can be done. In the User Manager, in Computer Management (may be someplace else too, but I'm too lazy to look), you can add groups from UNIX to the local group. If you are using 2000 on all your machines, or have an image for Win 2000, this should work fine for all of your machines. When you are adding users who have permissions, the UNIX groups should show up, in addition to Everyone Authenticated Users, etc. Take a peek... just make sure you set the domain you're looking in away from the local machine, when you're doing the add. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Fri, 23 May 2003, Robert Adkins wrote: Jason, So far, i've been able to successfully add users and machines to the PDC with out a problem. However, I have a question in regards to certain Groups. Specifically, if I wanted to make sure all of the users I add to the Samba PDC are part of the Power Users group that Windows 2000 comes with by default, how would I specify that? Also, if I had a couple of users that I need to make sure are part of the Administrators group, I would imagine, I would need to set them up the same way as I do with the Power Users group... There is an Administrator group supported in the version of Samba that you are using. This group setting is created in the smb.conf file and can point to a UNIX group or to individual users. As far as I know, there has yet to be a method to create power users with anything other then local policies. Personally, I searched high and low for a method to do so, in order to facilitate some functionality on the Windows workstations. In the end, I had to alter the local security policies to allow those tasks to be performed by Authenticated Domain Users. Which, while taking a little longer to configure, is actually a little less messy considering all of the abilities conferred to Power Users. (Which weren't needed by the regular users.) I'm wondering if I need to use NT 4.0 disk to install a policy editor of some sort? I dunno about this one. I've read that their are new features coming out with Samba 3.0 that will help with this, but for the time being, what would be the best way to manage and setup my users accordingly? Hopefully, Samba 3.0 will provide excellent Windows 2000 Domain Controls, just as the current production version of Samba does with Windows NT 4.0 Domain Controls. For the time being, I have found that Windows 2000 Local Security policies work fine. If you aren't using Windows 2000 across all your workstations, then I am unsure of how to further assist you with that. Regards, Robert Adkins IT Manager/Buyer 586-254-5800 -- 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] Folder redirection on samba
On Thu, 29 May 2003, ganapathy murali krishnan wrote: Documentation Comment: In case of NT4 policies, the document describes how to create them, and where to place them (netlogon share) and how it will be used. Is it possible to use Group Policies, with SAMBA 3.0? Can one just create the .adm templates described and drop them some where (SYSVOL share?) so that they automatically come into effect. Since SAMBA 3.0 cannot function as an AD Server (if I understand things correctly), it cannot be used for Group Policy Objects. So you create a profile for the group, make it a mandatory, in the user's profile (just as you would for NT4) set the path to the group profile for the user using pdbedit or using the NT4 User Manager for Domains. .adm files are templates for the Group Policy Editor alone. We will have an 'editreg' tool and a 'profiles' - the editreg tool will do what the NT4 Group Policy Editor does, it will create NTConfig.POL files. SYSVOL is a specific Active Directory facility. We need to emulate an Active Directory Controller to ba able to implement the capability to affect Machine Policy Objects and Group Policy Objects. Samba-3 does NOT do that. Is this right? If so, a note to that effect in the documentation would be useful. Send me the update and I will put it in if it makes sense. Thanks for your feedback. - John T. - Murali John H Terpstra wrote: On Thu, 29 May 2003, Murali krishnan Ganapathy wrote: Policy handling and profile configuration is rather well covered in the new HOWTO that will ship with Samba-3. I would appreciate feedback from people who have reviewed the two (2) chapters on these subjects and any contributions of corrections or additional material you might consider valuable to others. You may obtain the current form of the HOWTO from: http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdf In particular please refer to chapters 21 22. Cheers, 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
Re: [Samba] Samba Dropouts...
On Thu, 29 May 2003, Andrew Holland wrote: OK, I have been banging my head into the wall on this now for two or more weeks We have a samba server (2.2.8 then 2.2.8a) running on top of a 320 GB raid ATA-raid array with a FastTrack controller. Both the server and workstations are running through Gigabit NIC's. Every five or so minutes the workstations loose communications with the server, Then it takes 10-15 seconds for the workstations to reconnect to the server. The times are not specific, for example it can take anywhere from 1 minute to 3 hours between drop outs, but when we put a workstation under load it is (approx) 5-7 minutes between drop outs. Sometimes all stations loose the connection at once, sometimes it is only one workstation. It does not occur in any other program except Samba. If I don't get this fixed soon my boss is going to make me go back to (shutters) windows This sounds VERY suspiciously like a network hardware problem. What NICs? What HUBs? Are you running in duplex mode? What error rates on the ethernet interfaces? What collision activity on the HUBs? This does not sound like a Samba problem. - 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
Re: [Samba] Problem sending netbios messages
I assume you're sure that the Messenger service is enabled on the XP machine? _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Sat, 24 May 2003 [EMAIL PROTECTED] wrote: Hello! I have a problem sending netbios messages, using smbclient -M, to Windows XP machines. I'm able to send messages to a Windows 98 machine but when I try to send a message to a XP machine, I get this message: added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0 Got a positive name query response from 192.168.0.2 ( 192.168.0.2 ) message start: Call returned zero bytes (EOF) Does anyone know what I can do to solve this problem? Thanks in advance! Jan -- 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] Need help troubleshooting nmbd -D
Stacy, Are you trying to run nmbd as root or logged in as a non-root user? - John T. On Fri, 30 May 2003, Ryan Novosielski wrote: I think he meant inetd or xinetd. Check /etc/inetd.conf or ummm... I don't use xinetd, but I think it's /etc/xinetd.d and look for a script that may be running nmbd (probably samba). _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Tue, 20 May 2003, Joel Hammer wrote: This usual cause is that there is another instance of nmbd running. Or xinit or init is configured to start nmbd and is locking the port. Joel Tue, May 20, 2003 at 03:11:38PM -0400, Stacy Gaddy wrote: I get the following log when trying to run nmbd -D Netbios nameserver version 2.2.3a started. Copyright Andrew Tridgell and the Samba Team 1994-2002 [2003/05/20 15:02:44, 0] lib/util_sock.c:open_socket_in(789) bind failed on port 137 socket_addr = 10.10.50.4. Error = Cannot assign requested address [2003/05/20 15:02:44, 0] nmbd/nmbd_subnetdb.c:make_subnet(140) nmbd_subnetdb:make_subnet() Failed to open nmb socket on interface 10.10.50.4 for port 137. Error was Cannot assign requested address [2003/05/20 15:02:44, 0] nmbd/nmbd.c:main(861) ERROR: Failed when creating subnet lists. Exiting. Does anyone know what causes this error? Stacy Gaddy CTO Applied Technology Solutions [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
Re: [Samba] lprm command problem
I have SAMBA compiled without CUPS support. # ldd /usr/local/samba/sbin/smbd libdl.so.2 = /lib/libdl.so.2 (0x4001b000) libnsl.so.1 = /lib/libnsl.so.1 (0x4001e000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x40033000) libc.so.6 = /lib/libc.so.6 (0x4006) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) I will try to recompile it, and I hope it works. Thanks, Manuel On Thu, 2003-05-29 at 01:31, Ken Sarkies wrote: Hi Manuel Unless you have a particular reason for using your own print commands, once you have installed CUPS and are intending to use it, you shouldn't need to specify any print commands. You should simply put printing = cups printcap name = cups in the global section of smb.conf and samba/CUPS will handle everything from there. Make sure samba is compiled against CUPS. See http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection-3.0-PrintingChapter-9th-draft.html cheers, Ken as an aside, should there be a space between %p and %j, or is this a way of building a job-id for cancel? On Thu, 2003-05-29 at 00:15, Manuel Arenaz wrote: Hello, I have successfully installed samba 2.2.8 (with CUPS) as a windows printing server using the print$ share. The W2000 clients are able to send jobs to a printer and view the corresponding printer queue. However, when I try to delete a job from the windows client, I get the error bad command. My printers share in smb.conf is: [printers] comment = All Printers path = /tmp create mask = 0700 browseable = yes guest ok = yes writable = no printable = yes print command = /usr/bin/lp -d %p -o raw %s lpq command = /usr/bin/lpstat -o %p lprm command = /usr/bin/cancel %p-%j The command /usr/bin/cancel works fine in the linux server. May the error be due to bad replacement of the %p-%j string? Any help would be appreciated. Thanks in advance, Manuel Arenaz -- 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: I could use some help here... Re: [Samba] Accessing printerfromoutside the domain
You'll probably have to put your printer public, and map bad users to guest user. This is working for me: [global] ... map to guest = Bad User this is my printer: [lj5l] path = /tmp printer name = lj5l writable = yes public = yes guest ok = yes guest account = smbprint printable = yes print command = lpr -Praw %s lpq command = lpq -Praw lprm command = lprm -Praw %j make sure smbprint (or the guest account) exists on your UNIX/Linux machine. - Original Message - From: lloyd [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 7:36 PM Subject: I could use some help here... Re: [Samba] Accessing printer fromoutside the domain I'm doing my best to advocate F/OSS in our organization, but this has been a problem for over a week now and it's starting to look bad. Any takers? lloyd wrote: We need to give a user in another domain access to our printer: our domain: OURDOM (samba) other domain: OTHERDOM (AD?) user's workstation: \\OTHERDOM\WKSTN, in other domain printer: in our domain user: JOEBLOW - an account in each domain with the same login/password We're getting this error in wkstn.log: [2003/05/28 20:44:20, 1] smbd/password.c:server_validate(1101) password server is not connected [2003/05/28 20:44:20, 1] smbd/password.c:pass_check_smb(545) Couldn't find user 'joeblow' in passdb. [2003/05/28 20:44:20, 2] smbd/reply.c:reply_sesssetup_and_X(975) NT Password did not match for user 'joeblow'! [2003/05/28 20:44:20, 2] smbd/reply.c:reply_sesssetup_and_X(985) Defaulting to Lanman password for joeblow [2003/05/28 20:44:20, 1] smbd/password.c:pass_check_smb(545) Couldn't find user 'joeblow' in passdb. [2003/05/28 20:44:20, 1] smbd/reply.c:reply_sesssetup_and_X(1001) Rejecting user 'joeblow': authentication failed [2003/05/28 20:44:20, 3] smbd/error.c:error_packet(94) error string = No such file or directory [2003/05/28 20:44:20, 3] smbd/error.c:error_packet(113) error packet at smbd/reply.c(1003) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE Our password server (samba pdc) is ourdc.ourorg.org and has smbpasswd accounts on it. The print server has no user accounts on it, smbpasswd or passwd. The guest account sambaguest exists in smbpasswd and passwd both on the print server and password server, with the same password in all files. this smb.conf is from the print server: [global] debuglevel = 3 workgroup = OURDOMAIN server string = samba print server printcap name = /etc/printcap load printers = yes printing = cups guest account = sambaguest log file = /var/log/samba/%m.log max log size = 0 security = server password server = ourdc.ourorg.org encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* pam password change = yes obey pam restrictions = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain master = no preferred master = no wins server = 123.123.123.123 dns proxy = no [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yes writable = no printable = yes Any suggestions appreciated. -- 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] compile samba-2.2.8 with libcups support?
First of all, thank you very much for your fast answers. Congratulations, samba is a great product. This is possibly a newbie question, but I am not able to compile samba-2.2.8 with libcups support. From the options that appear running ./configure --help, only --enable-cups seems to be related to the problem. However, after compilation the smbd executable is not linked with libcups. # ./configure --enable-cups # make # ldd /usr/local/samba-2.2.8-source/source/bin/smbd libdl.so.2 = /lib/libdl.so.2 (0x4001b000) libnsl.so.1 = /lib/libnsl.so.1 (0x4001e000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x40033000) libc.so.6 = /lib/libc.so.6 (0x4006) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) The library is installed in my system: # find /usr/lib -name libcups* -print /usr/lib/libcups.so.2 /usr/lib/libcupsimage.so.2 What configure options must I use? Any help or reference to a document that explains the process would be appreciated. Thanks in advance. Manuel Arenaz -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Making winbindd and pam_mount play nice together (2nd try)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Message: 38 Date: Thu, 29 May 2003 17:33:14 -0500 From: Bradley Wendelboe [EMAIL PROTECTED] Subject: RE: [Samba] Making winbindd and pam_mount play nice together (2nd try) To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain Yes, I'm going to individual shares. It seems that pam_mount is not getting the password information from the PAM system. I've contacted the author of pam_mount and will share any results. So far: Several people are trying to get pam_mount working with winbind. I don't have a winbind setup myself, so it is difficult for me to debug. Please be patient. The only hypothesis I have at this point revolves around pam_mounts use of functions like getpwnam to retrieve information about a user's account. Theoretically, if one configures /etc/nsswitch.conf correctly, getpwnam can use services besides /etc/passwd (ie: winbind) to answer questions about a user. Pam_mount uses getpwnam to do the following: 1. Determine where ~/.pam_mount.conf is. 2. Determine the UID and GID that should own a mount point created by pam_mount. 3. Determine the UID and GID that should own a user's session count file (/var/run/pam_mount/user). 4. Ensure a user owns mount points and volumes for volumes defined by ~/.pam_mount.conf. The only other suspect action I can think of is pam_mount's retrieval of a user's password from the PAM system. I don't think this should be an issue if you use pam_winbind to authenticate users. Do any of these hints help? I don't have a winbind system available to test on, but I maintain pam_mount packages in Mandrake, and so have a test setup, using accounts only in LDAP via pam_ldap. I have no problems, currently using pam_mount 0.5.14. I haven't tried pam_mount with winbind since it added the ~ token (which I needed), but it did work ... Have you tried pam_mount with local accounts to ensure that it's not winbind that is the problem? BTW, I have had trouble using pam_mount via a stacked pam file (like /etc/pam.d/system-auth) before, so my test setup uses it in /etc/pam.d/login directly. Regards, Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+1ycTrJK6UGDSBKcRAiRiAJwLvVUb7+54ipP/O6ugCOMEossUgQCeLcbk +czGA66Li9IttDGBejRb0OE= =HJXq -END PGP SIGNATURE- ** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer. ** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] compile samba-2.2.8 with libcups support?
Hi, What linux? distribution are you using? If you are using rpm based distributions try to do a rpm -q -a | grep cups You should see cups, cups-libs and cups-devel If you don't have cups-devel, --enable-cups will fail silently and thus your smbd will not link with libcups. (You can also check your config.log to see if there are failures when testing CUPS) Hope this helps. Chee Wai --- Manuel Arenaz [EMAIL PROTECTED] wrote: First of all, thank you very much for your fast answers. Congratulations, samba is a great product. This is possibly a newbie question, but I am not able to compile samba-2.2.8 with libcups support. From the options that appear running ./configure --help, only --enable-cups seems to be related to the problem. However, after compilation the smbd executable is not linked with libcups. # ./configure --enable-cups # make # ldd /usr/local/samba-2.2.8-source/source/bin/smbd libdl.so.2 = /lib/libdl.so.2 (0x4001b000) libnsl.so.1 = /lib/libnsl.so.1 (0x4001e000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x40033000) libc.so.6 = /lib/libc.so.6 (0x4006) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) The library is installed in my system: # find /usr/lib -name libcups* -print /usr/lib/libcups.so.2 /usr/lib/libcupsimage.so.2 What configure options must I use? Any help or reference to a document that explains the process would be appreciated. Thanks in advance. Manuel Arenaz -- 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] load password users in Ldap
Hello, I'm new in Samba Ldap. I use samba-2.2.3a and openldap2-2.1.4-46. I am going to load in Ldap a lot of users in a ldif file as it is shown below. But I don't know how to put samba password. I can use: smbpasswd juan1 and then the fields lmPassword and ntPassword are changed. In this way, after load all users in Ldap I would need a script to do a smbpasswd for each user automatically, without prompt me for each one. ¿ How can I do to avoid prompting me ? I think it is better to put the real password in lmPassword and ntPassword but it doesn't work. Which is the easiest method to put the samba password in the load process? ldif file == dn: uid=juan1, ou=smb, dc=Colegio Oficial de Arquitectos de Madrid, dc=es cn: juan1 objectClass: sambaAccount objectClass: posixAccount uid: juan1 pwdLastSet: 0 logonTime: 0 logoffTime: 2147483647 kickoffTime: 2147483647 pwdCanChange: 0 pwdMustChange: 2147483647 userPassword: hola lmPassword: 37D5B8AB8069F5B8AB5B8AB8B8AB8069 ntPassword: 5B8AB8B8AB85B8A5B8AB8B8AB82BE319 acctFlags: [UX ] uidNumber: 1020 gidNumber: 1001 loginShell: /bin/bash rid: 3040 primaryGroupID: 513 homeDirectory: /dev/null /etc/samba/smb.conf ldap server = localhost ldap port = 389 ldap suffix = ou=smb, dc=Colegio Oficial de Arquitectos de Madrid, dc=es ldap admin dn = cn=Manager, dc=Colegio Oficial de Arquitectos de Madrid, dc=es Thanks very much. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] cant find pam_winbind.so :'(
dear users i've install my samba 2.2.8a i cant find the pam_winbind.so file ... si, i tried to compile with ./configure --with-pam but i get an error : sumary failure whats that ? it is due to the fact that i have removed my old version with rm -rf /etc/samba ?? thanks! chris - Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] cifs on linux client
anyone use cifs on linux clients? are there advantages over smbfs in practise? ta. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] share persistence problem
I have had a similar problem and found this during some searches. I havent tried it yet but will try on monday in the login scripts SYMPTOMS: You find that the network drive mapping may be disconnected after 15 minutes of inactivity and Windows Explorer may display a red X on the icon of the mapped drive. However, if you double-click it reconnects quickly. RESOLUTION: by default, idle connections will be dropped after 15 minutes. To modify idle time, at a command prompt using net config server /autodisconnect: minutes. For example, to set the Autodisconnect value to 30 minutes, you would run the following command line: net config server /autodisconnect:30. If you would like to turn Autodisconnect off, do net config server /autodisconnect:-1. For more information, go to http://www25.brinkster.com/ChicagoTech Paul Trepanier wrote: After awhile, my connections from my PC to my samba server end up with a red X in them (share disappeared) if I leave my explorer window open. If I click on these, they wake up and continue to function (and the red X's go away). If I close my explorer window (while the red X's are there) and reopen it , they are gone. An attempt to reestablish these dropped connections is immediately successful. This is obviously a connection persistence issue and I've tried setting both keepalive= and SO_KEEPALIVE (individually, of course) to no avail. Any ideas? My installation is samba 2.2.8 running as a daemon (not inetd) on Solaris 8 configured to use a WINS server and provide authentication via a PDC (same host as WINS server). I do have an lmhosts file in the samba /lib directory with the PDC/WINS server address in it. My globals section; [global] workgroup = WORKGROUP netbios name = SAMBASERVER security = SERVER encrypt passwords = Yes password server = pdc lanman auth = No log level = 2 log file = /usr/local/depot/samba-2.2.8/var/%m.log deadtime = 5 max smbd processes = 5 socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE load printers = No show add printer wizard = No preferred master = No local master = No domain master = No wins server = [IP address of WINS/PDC server] follow symlinks = No -- M.J. Beaton Miju Systems http://www.miju.com.au/ PO Box 176, Corinda Q 4075, Australia ABN 48 065 548 496 Email: [EMAIL PROTECTED] Phone: +61 0414 350 292 Fax: +61 7 3278 2343 -- Mal http://mbeaton.id.au:5537/ :wq! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] compile samba-2.2.8 with libcups support?
On Fri, 2003-05-30 at 11:50, Chee Wai Yeung wrote: Hi, What linux? distribution are you using? If you are using rpm based distributions try to do a rpm -q -a | grep cups You should see cups, cups-libs and cups-devel If you don't have cups-devel, --enable-cups will fail silently and thus your smbd will not link with libcups. I am using debian testing. After installing the devel libraries, samba was successfully compiled with CUPS support. Thank you very much. (You can also check your config.log to see if there are failures when testing CUPS) Hope this helps. Chee Wai --- Manuel Arenaz [EMAIL PROTECTED] wrote: First of all, thank you very much for your fast answers. Congratulations, samba is a great product. This is possibly a newbie question, but I am not able to compile samba-2.2.8 with libcups support. From the options that appear running ./configure --help, only --enable-cups seems to be related to the problem. However, after compilation the smbd executable is not linked with libcups. # ./configure --enable-cups # make # ldd /usr/local/samba-2.2.8-source/source/bin/smbd libdl.so.2 = /lib/libdl.so.2 (0x4001b000) libnsl.so.1 = /lib/libnsl.so.1 (0x4001e000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x40033000) libc.so.6 = /lib/libc.so.6 (0x4006) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) The library is installed in my system: # find /usr/lib -name libcups* -print /usr/lib/libcups.so.2 /usr/lib/libcupsimage.so.2 What configure options must I use? Any help or reference to a document that explains the process would be appreciated. Thanks in advance. Manuel Arenaz -- 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] Weird permissions on samba shared printers
Joel, You are just looking at the security permissions based on what win2k sees once you install the printer from the print server. It comes up with a bad UID/SID of some sort and I'm not sure where it's getting it. Once I figured that out I should be able to fix the problem that I'm seeing. - John -Original Message- From: Joel Hammer [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 6:47 PM To: Strange, John; [EMAIL PROTECTED] Subject: Re: [Samba] Weird permissions on samba shared printers No real idea but: This manage printers and manage documents stuff. Is this anything that is reported by unix or lprng? What does manage documents mean? The ability to run lprm and the like. What does manage printers mean? The ability to run queueresume or queuepause? I don't know how samba and lprng could report this information. Maybe cups allows this sort of thing to be reported, but I know nothing about cups. Joel On Thu, May 29, 2003 at 03:01:57PM -0400, Strange, John wrote: Well, I'm having some odd permissions created when I install a shared printer from a samba server. No matter what the remote host is I'll always end up with the following permissions on printers when installed on a client. http://www.strangeness.org/security.jpg I've got the drivers to update perfectly and now this is my last hurdle in setting up the print server. It seems to work okay but I still don't like the way it creates the permissions. I've tried searching google and finding somewhat related issues but they never seem to get anywhere so I'm hoping someone can help me find the answer. Here's some related information about the server and config: samba 2.2.7 #=== Global Settings = [global] workgroup = x netbios name = server string = Samba Server %v printcap name = /etc/printcap load printers = yes printing = lprng guest account = nobody log file = /var/log/samba/%m.log max log size = 0 security = domain password server = xx encrypt passwords = yes update encrypted = yes smb passwd file = /etc/samba/smbpasswd socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 remote browse sync = xxx.xxx.xxx.xxx local master = yes os level = 66 preferred master = yes wins server = xxx.xxx.xxx.xxx dns proxy = no show add printer wizard = yes printer admin = [print$] path = /var/spool/samba/printers guest ok = yes browseable = yes read only = yes ; since this share is configured as read only, then we need ; a 'write list'. Check the file system permissions to make ; sure this account can copy files to the share. If this ; is setup to a non-root account, then it should also exist ; as a 'printer admin' write list = jstrange [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writeable = no printable = yes -- 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] load password users in Ldap
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -- Message: 13 Date: Fri, 30 May 2003 12:06:28 +0200 From: Jose Antonio G?mez Mu?oz [EMAIL PROTECTED] Subject: [Samba] load password users in Ldap To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Hello, I'm new in Samba Ldap. I use samba-2.2.3a and openldap2-2.1.4-46. Please use a newer version of samba, firstly 2.2.3a is vulnerable to a remote root exploit, secondly, a lot of changes required for good LDAP operation are only available in later (ie 2.2.7a or later) releases. I am going to load in Ldap a lot of users in a ldif file as it is shown below. But I don't know how to put samba password. I can use: smbpasswd juan1 and then the fields lmPassword and ntPassword are changed. In this way, after load all users in Ldap I would need a script to do a smbpasswd for each user automatically, without prompt me for each one. ¿ How can I do to avoid prompting me ? See the mkntpwd program in examples/LDAP/smbldap-tools/mkntpwd for a tool that will create LM and NT hashes for you from a clear-text password. If you already have samba passwords in an smbpasswd file, see import_smbpasswd.pl in examples/LDAP, If you have users in passwd files, you can also import a lot of the information using the migration tools. I think it is better to put the real password in lmPassword and ntPassword but it doesn't work. Which is the easiest method to put the samba password in the load process? ldif file == dn: uid=juan1, ou=smb, dc=Colegio Oficial de Arquitectos de Madrid, dc=es cn: juan1 objectClass: sambaAccount objectClass: posixAccount uid: juan1 pwdLastSet: 0 logonTime: 0 logoffTime: 2147483647 kickoffTime: 2147483647 pwdCanChange: 0 pwdMustChange: 2147483647 userPassword: hola lmPassword: 37D5B8AB8069F5B8AB5B8AB8B8AB8069 ntPassword: 5B8AB8B8AB85B8A5B8AB8B8AB82BE319 acctFlags: [UX ] uidNumber: 1020 gidNumber: 1001 loginShell: /bin/bash rid: 3040 primaryGroupID: 513 homeDirectory: /dev/null /etc/samba/smb.conf ldap server = localhost ldap port = 389 ldap suffix = ou=smb, dc=Colegio Oficial de Arquitectos de Madrid, dc=es ldap admin dn = cn=Manager, dc=Colegio Oficial de Arquitectos de Madrid, dc=es Your suffix implies that you own the domain Colegio Oficial de Arquitectos de Madrid.es (dc means domain component), you may want to rather use o=Colegio Oficial de Arquitectos de Madrid,c=es instead, or a real domain-type suffix. BTW, you may want to review these documents, which cover a lot of the issues: http://www.mandrakesecure.net/en/docs/samba-pdc.php http://www.mandrakesecure.net/en/docs/samba-ldap-advanced.php (note, some minor modifications may occur to these documents still ...) Since you are using openldap-2.1, you should also look at this document: http://www.unav.es/cti/ldap-smb/ldap-smb-2_2-howto.html#AUXILIARY (at this stage, openldap-2.0.x may be a better choice, just because it is understood better, and all the available schemas work with it). Regards, Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+11KJrJK6UGDSBKcRApjTAJ9QL5MbtkMx1uZIygPnXwxYLXexTgCfUX7/ 6gLzfRnhEgmjsBk9DKvHXX8= =JPIb -END PGP SIGNATURE- ** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer. ** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
CVS update: samba/source/include
Date: Thu May 29 14:40:55 2003 Author: jelmer Update of /home/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv12432/include Modified Files: Tag: SAMBA_3_0 module.h Log Message: Get the events API right. Patch from metze with some minor modifications. Revisions: module.h1.1.2.1 = 1.1.2.2 http://www.samba.org/cgi-bin/cvsweb/samba/source/include/module.h?r1=1.1.2.1r2=1.1.2.2
CVS update: samba/source/lib
Date: Thu May 29 14:40:55 2003 Author: jelmer Update of /home/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv12432/lib Modified Files: Tag: SAMBA_3_0 module.c Log Message: Get the events API right. Patch from metze with some minor modifications. Revisions: module.c1.6.2.7 = 1.6.2.8 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/module.c?r1=1.6.2.7r2=1.6.2.8
CVS update: samba/source/lib
Date: Thu May 29 14:46:30 2003 Author: jelmer Update of /home/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv13882/lib Modified Files: module.c Log Message: Fix the events API. Patch by metze with some minor modifications. Revisions: module.c1.16 = 1.17 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/module.c?r1=1.16r2=1.17
CVS update: samba/docs/docbook/xslt
Date: Thu May 29 14:53:02 2003 Author: ab Update of /home/cvs/samba/docs/docbook/xslt In directory dp.samba.org:/tmp/cvs-serv14793 Modified Files: Tag: SAMBA_3_0 latex.xsl Log Message: Make inter-paragraph space in latex targets 1.5\baselineskip and do not indent paragraphs Revisions: latex.xsl 1.1.2.1 = 1.1.2.2 http://www.samba.org/cgi-bin/cvsweb/samba/docs/docbook/xslt/latex.xsl?r1=1.1.2.1r2=1.1.2.2
CVS update: samba/docs/docbook/xslt/latex
Date: Thu May 29 14:53:02 2003 Author: ab Update of /home/cvs/samba/docs/docbook/xslt/latex In directory dp.samba.org:/tmp/cvs-serv14793/latex Modified Files: Tag: SAMBA_3_0 sambadoc.cls Log Message: Make inter-paragraph space in latex targets 1.5\baselineskip and do not indent paragraphs Revisions: sambadoc.cls1.1.2.1 = 1.1.2.2 http://www.samba.org/cgi-bin/cvsweb/samba/docs/docbook/xslt/latex/sambadoc.cls?r1=1.1.2.1r2=1.1.2.2
CVS update: samba/source/client
Date: Thu May 29 15:39:53 2003 Author: jelmer Update of /home/cvs/samba/source/client In directory dp.samba.org:/tmp/cvs-serv19745/client Modified Files: client.c Log Message: Don't crash when doing command name completion. Fixes debian bug #194776 Revisions: client.c1.249 = 1.250 http://www.samba.org/cgi-bin/cvsweb/samba/source/client/client.c?r1=1.249r2=1.250
CVS update: samba/source/client
Date: Thu May 29 15:44:36 2003 Author: jelmer Update of /home/cvs/samba/source/client In directory dp.samba.org:/tmp/cvs-serv20362/client Modified Files: Tag: SAMBA_3_0 client.c Log Message: Don't crash when doing namecompletion in smbclient. Fixes debian bug #194776 Revisions: client.c1.209.2.22 = 1.209.2.23 http://www.samba.org/cgi-bin/cvsweb/samba/source/client/client.c?r1=1.209.2.22r2=1.209.2.23
CVS update: samba/source/include
Date: Thu May 29 19:08:40 2003 Author: jelmer Update of /home/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv14198/include Modified Files: Tag: SAMBA_3_0 idmap.h Log Message: Add smb_register_idmap(). Based on a patch from metze Revisions: idmap.h 1.6.2.2 = 1.6.2.3 http://www.samba.org/cgi-bin/cvsweb/samba/source/include/idmap.h?r1=1.6.2.2r2=1.6.2.3
CVS update: samba/source/sam
Date: Thu May 29 19:08:40 2003 Author: jelmer Update of /home/cvs/samba/source/sam In directory dp.samba.org:/tmp/cvs-serv14198/sam Modified Files: Tag: SAMBA_3_0 idmap.c idmap_tdb.c idmap_winbind.c Log Message: Add smb_register_idmap(). Based on a patch from metze Revisions: idmap.c 1.13.2.2 = 1.13.2.3 http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c?r1=1.13.2.2r2=1.13.2.3 idmap_tdb.c 1.12.2.2 = 1.12.2.3 http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c?r1=1.12.2.2r2=1.12.2.3 idmap_winbind.c 1.4.2.1 = 1.4.2.2 http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_winbind.c?r1=1.4.2.1r2=1.4.2.2
CVS update: samba/source
Date: Thu May 29 19:08:40 2003 Author: jelmer Update of /home/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv14198 Modified Files: Tag: SAMBA_3_0 Makefile.in configure.in Log Message: Add smb_register_idmap(). Based on a patch from metze Revisions: Makefile.in 1.468.2.109 = 1.468.2.110 http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in?r1=1.468.2.109r2=1.468.2.110 configure.in1.300.2.90 = 1.300.2.91 http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in?r1=1.300.2.90r2=1.300.2.91
CVS update: samba/docs/docbook/devdoc
Date: Thu May 29 19:26:16 2003 Author: jelmer Update of /home/cvs/samba/docs/docbook/devdoc In directory dp.samba.org:/tmp/cvs-serv16427 Modified Files: Tag: SAMBA_3_0 modules.xml Log Message: Update to reflect current API Revisions: modules.xml 1.1.2.1 = 1.1.2.2 http://www.samba.org/cgi-bin/cvsweb/samba/docs/docbook/devdoc/modules.xml?r1=1.1.2.1r2=1.1.2.2
CVS update: samba/source/utils
Date: Thu May 29 22:00:54 2003 Author: jelmer Update of /home/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv6390/utils Modified Files: Tag: SAMBA_3_0 pdbedit.c Log Message: Setting account policy values is done using -C, not -V. Fixes bug #120 Revisions: pdbedit.c 1.39.2.25 = 1.39.2.26 http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/pdbedit.c?r1=1.39.2.25r2=1.39.2.26
CVS update: samba/source/utils
Date: Thu May 29 22:01:38 2003 Author: jelmer Update of /home/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv6805/utils Modified Files: pdbedit.c Log Message: Setting account policy values is done using -C, not -V. Fixes bug #120 Revisions: pdbedit.c 1.86 = 1.87 http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/pdbedit.c?r1=1.86r2=1.87
Re: CVS update: samba/source/sam
On Thu, May 29, 2003 at 09:30:48PM +, [EMAIL PROTECTED] wrote about 'CVS update: samba/source/sam': Log Message: function() is *NOT* a valid C proto, but C++ only. The correct prototype in C is function(void). Please remember this ! Oops, sorry! I guess I don't have enough experience with exotic compilers ;-) Jelmer -- Jelmer Vernooij [EMAIL PROTECTED] http://samba.org/~jelmer/ Last CVS commit: Thu May 29 22:01:38 2003 (11m ago) Bugs in bugzilla: 20 pgp0.pgp Description: PGP signature
Re: CVS update: samba/source/sam
On Fri, May 30, 2003 at 12:14:39AM +0200, Jelmer Vernooij wrote: On Thu, May 29, 2003 at 09:30:48PM +, [EMAIL PROTECTED] wrote about 'CVS update: samba/source/sam': Log Message: function() is *NOT* a valid C proto, but C++ only. The correct prototype in C is function(void). Please remember this ! Oops, sorry! I guess I don't have enough experience with exotic compilers ;-) gcc is not an exotic compiler :-). That's what I used to catch this... Jeremy.
CVS update: samba/docs/docbook/smbdotconf/misc
Date: Thu May 29 22:31:34 2003 Author: jelmer Update of /home/cvs/samba/docs/docbook/smbdotconf/misc In directory dp.samba.org:/tmp/cvs-serv10188 Added Files: Tag: SAMBA_3_0 valid.xml Log Message: Document -valid. Fixes bug #32 Revisions: valid.xml NONE = 1.1.2.1 http://www.samba.org/cgi-bin/cvsweb/samba/docs/docbook/smbdotconf/misc/valid.xml?rev=1.1.2.1
CVS update: samba/source/include
Date: Thu May 29 23:49:31 2003 Author: jra Update of /data/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv18192/include Modified Files: Tag: SAMBA_3_0 vfs.h vfs_macros.h Log Message: Change get_nt_acl() to include security_info wanted. Only return this. This gets us closer to W2k+ in what we return for file ACLs. Fix horribly broken make_sec_desc() that screwed up the size when given a SD with no owner or group (how did it get this bad... ?). Jeremy. Revisions: vfs.h 1.25.2.5 = 1.25.2.6 http://www.samba.org/cgi-bin/cvsweb/samba/source/include/vfs.h?r1=1.25.2.5r2=1.25.2.6 vfs_macros.h1.1.2.3 = 1.1.2.4 http://www.samba.org/cgi-bin/cvsweb/samba/source/include/vfs_macros.h?r1=1.1.2.3r2=1.1.2.4
CVS update: samba/source/rpc_server
Date: Thu May 29 23:49:31 2003 Author: jra Update of /data/cvs/samba/source/rpc_server In directory dp.samba.org:/tmp/cvs-serv18192/rpc_server Modified Files: Tag: SAMBA_3_0 srv_srvsvc_nt.c Log Message: Change get_nt_acl() to include security_info wanted. Only return this. This gets us closer to W2k+ in what we return for file ACLs. Fix horribly broken make_sec_desc() that screwed up the size when given a SD with no owner or group (how did it get this bad... ?). Jeremy. Revisions: srv_srvsvc_nt.c 1.70.2.12 = 1.70.2.13 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_srvsvc_nt.c?r1=1.70.2.12r2=1.70.2.13
CVS update: samba/source/smbd
Date: Thu May 29 23:49:32 2003 Author: jra Update of /data/cvs/samba/source/smbd In directory dp.samba.org:/tmp/cvs-serv18192/smbd Modified Files: Tag: SAMBA_3_0 dir.c nttrans.c posix_acls.c vfs-wrap.c Log Message: Change get_nt_acl() to include security_info wanted. Only return this. This gets us closer to W2k+ in what we return for file ACLs. Fix horribly broken make_sec_desc() that screwed up the size when given a SD with no owner or group (how did it get this bad... ?). Jeremy. Revisions: dir.c 1.66.2.14 = 1.66.2.15 http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/dir.c?r1=1.66.2.14r2=1.66.2.15 nttrans.c 1.154.2.20 = 1.154.2.21 http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/nttrans.c?r1=1.154.2.20r2=1.154.2.21 posix_acls.c1.61.2.20 = 1.61.2.21 http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/posix_acls.c?r1=1.61.2.20r2=1.61.2.21 vfs-wrap.c 1.37.2.9 = 1.37.2.10 http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/vfs-wrap.c?r1=1.37.2.9r2=1.37.2.10
Re: CVS update: samba/source/sam
On Thu, May 29, 2003 at 10:21:08PM +, [EMAIL PROTECTED] wrote: Oops, sorry! I guess I don't have enough experience with exotic compilers ;-) gcc is not an exotic compiler :-). That's what I used to catch this... You should get a warning for this if you use ./configure.developer Tim.
Re: CVS update: samba/source/include
On Thu, May 29, 2003 at 11:49:31PM +, [EMAIL PROTECTED] wrote: Date: Thu May 29 23:49:31 2003 Author: jra Update of /data/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv18192/include Don't forget your janitorial duties. (-: This gets us closer to W2k+ in what we return for file ACLs. Fix horribly broken make_sec_desc() that screwed up the size when given a SD with no owner or group (how did it get this bad... ?). It needs a good working over with a testsuite. I ran in to all sorts of horrible messes when trying to write a client side setprinter level 3 for the python wrappers. Tim.
Re: CVS update: samba/source/include
On Fri, May 30, 2003 at 09:57:40AM +1000, Tim Potter wrote: On Thu, May 29, 2003 at 11:49:31PM +, [EMAIL PROTECTED] wrote: Date: Thu May 29 23:49:31 2003 Author: jra Update of /data/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv18192/include Don't forget your janitorial duties. (-: Bollocks to HEAD. The patch doesn't even apply. There are missing files and the parse_XX code is different. HEAD is DEAD. I'm waiting for it to get replaced. If you want it up to date there should be a wholesale 3.0 - HEAD replacement. Jeremy.
Re: CVS update: samba/source/rpc_parse
On Thu, May 29, 2003 at 01:20:23AM +, [EMAIL PROTECTED] wrote: Back-port of merge from Volker. I'm afraid you then also have to fix libsmb/cli_samr.c line 703 where this is used as well. Volker pgp0.pgp Description: PGP signature
Re: CVS update: samba/source/include
Why these patches are applied to SAMBA_3_0 only? Can we keep the 2 branches in sync? Simo. On Thu, 2003-05-29 at 21:08, Jelmer Vernooij wrote: Date: Thu May 29 19:08:40 2003 Author: jelmer Update of /home/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv14198/include Modified Files: Tag: SAMBA_3_0 idmap.h Log Message: Add smb_register_idmap(). Based on a patch from metze Revisions: idmap.h 1.6.2.2 = 1.6.2.3 http://www.samba.org/cgi-bin/cvsweb/samba/source/include/idmap.h?r1=1.6.2.2r2=1.6.2.3 -- Simo Sorce- [EMAIL PROTECTED] Samba Team- http://www.samba.org Italian Site - http://samba.xsec.it
Re: CVS update: samba/source/include
On Fri, 2003-05-30 at 02:01, [EMAIL PROTECTED] wrote: On Fri, May 30, 2003 at 09:57:40AM +1000, Tim Potter wrote: On Thu, May 29, 2003 at 11:49:31PM +, [EMAIL PROTECTED] wrote: Date: Thu May 29 23:49:31 2003 Author: jra Update of /data/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv18192/include Don't forget your janitorial duties. (-: Bollocks to HEAD. The patch doesn't even apply. There are missing files and the parse_XX code is different. HEAD is DEAD. I'm waiting for it to get replaced. Well when tridge will merge his work, shouldn't we have HEAD in sync with SAMBA_3_0 ?? Should we make him commit to an old bracnh with unfixed bugs, and have regressions later on? If you want it up to date there should be a wholesale 3.0 - HEAD replacement. Please do so if it is the only way. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. - http://www.xsec.it via Durando 10 Ed. G - 20158 - Milano mobile: +39 329 328 7702 tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part
Re: CVS update: samba/source/include
On Fri, May 30, 2003 at 09:42:11AM +0200, Simo wrote about 'Re: CVS update: samba/source/include': Why these patches are applied to SAMBA_3_0 only? Can we keep the 2 branches in sync? I usually apply my patches to both branches, but the problem is that they are currently out of sync. The patch didn't apply to HEAD cleanly and I didn't put any effort into solving it since HEAD = DEAD... Jelmer On Thu, 2003-05-29 at 21:08, Jelmer Vernooij wrote: Date: Thu May 29 19:08:40 2003 Author: jelmer Update of /home/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv14198/include Modified Files: Tag: SAMBA_3_0 idmap.h Log Message: Add smb_register_idmap(). Based on a patch from metze Revisions: idmap.h 1.6.2.2 = 1.6.2.3 http://www.samba.org/cgi-bin/cvsweb/samba/source/include/idmap.h?r1=1.6.2.2r2=1.6.2.3 -- Simo Sorce- [EMAIL PROTECTED] Samba Team- http://www.samba.org Italian Site - http://samba.xsec.it -- Jelmer Vernooij [EMAIL PROTECTED] http://samba.org/~jelmer/ Last CVS commit: Thu May 29 22:01:38 2003 (11h 16m ago) Bugs in bugzilla: 19 pgp0.pgp Description: PGP signature