[Samba] Repost: ads_connect: No such file or directory
Hi all, I like to ask my question again Is there something known about this ? The question is asked several times before in this group, but so far I didn't find any answer to the question Can somebody help me out ? I want to have Samba join a win2000 active directory I am using samba-3.0.7 This is compiled on a RedHat 9 machine with: --prefix=/usr --localstatedir=/var --with-configdir=/etc/samba --with-privatedir=/etc/samba --with-fhs --with-quotas --with-msdfs --with-smbmount --with-ads --with-pam --with-pam_smbpass --with-syslog --with-utmp --with-sambabook=/usr/share/swat/using_samba --with-swatdir=/usr/share/swat --with-libsmbclient --with-winbind --with-winbind-auth-challenge When I do a: net ads join -Uadministrator I get: [2004/10/01 13:21:07, 0] utils/net_ads.c:ads_startup(183) ads_connect: No such file or directory It appears the file: ads_connect is missing Where is ads_connect coming from ? Do I need more compile options ? Kerberos 1.2.7-10 is installed (rpm) including the development (rpm) OpenLdap 2.0.27-8 is installed (rpm) including the development (rpm) -- 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] 3.0.8pre1, encoding problem?
Hello! I just wanted to migrate one of our 3.0.2a servers to 3.0.8pre1 and found that all is OK win WinXP, but there is problem with WinMe. When user tries to access directory with name Договоры (Contracts) here is what I see on log: [2004/10/04 08:45:01, 5] smbd/filename.c:unix_convert(108) unix_convert called on file "ДОГОВОРЫ" [2004/10/04 08:45:01, 10] smbd/statcache.c:stat_cache_lookup(210) stat_cache_lookup: lookup failed for name [ДОГОВОРЫ] [2004/10/04 08:45:01, 5] smbd/filename.c:unix_convert(179) unix_convert begin: name = ДОГОВОРЫ, dirpath = , start = ДОГОВОРЫ [2004/10/04 08:45:01, 10] smbd/mangle_hash2.c:is_mangled(270) is_mangled ДОГОВОРЫ ? [2004/10/04 08:45:01, 10] smbd/mangle_hash2.c:is_mangled_component(209) is_mangled_component ДОГОВОРЫ (len 8) ? [2004/10/04 08:45:01, 10] smbd/mangle_hash2.c:is_mangled(270) is_mangled ДОГОВОРЫ ? [2004/10/04 08:45:01, 10] smbd/mangle_hash2.c:is_mangled_component(209) is_mangled_component ДОГОВОРЫ (len 8) ? [2004/10/04 08:45:01, 10] smbd/mangle_hash2.c:is_mangled(270) is_mangled ДОГОВОРЫ ? [2004/10/04 08:45:01, 10] smbd/mangle_hash2.c:is_mangled_component(209) is_mangled_component ДОГОВОРЫ (len 8) ? [2004/10/04 08:45:01, 5] smbd/filename.c:unix_convert(328) New file ДОГОВОРЫ [2004/10/04 08:45:01, 3] smbd/reply.c:reply_getatr(652) stat of ДОГОВОРЫ failed (No such file or directory) [2004/10/04 08:45:01, 10] smbd/trans2.c:set_bad_path_error(2223) set_bad_path_error: err = 2 bad_path = 0 [2004/10/04 08:45:01, 3] smbd/error.c:error_packet(105) error string = No such file or directory I.e. directory is in upper case. I.e. CONTRACTS instead of Contracts. Certanly, such directory can't be opened ;-) Any ideas how to fix this? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Move Samba 3.0 PDC to different machine
-Brad It would seem that I'm up and running. It was the "secrets.tdb" file that did the trick. I researched enough to know that tdb is a binary database file associated with passwords. 'Using SAMBA' (O'Reilly) references it on page 156 as storage for SIDs. 'Official Samba-3' references it on page 308 as "Trivial Database Files" (tdb although, since it stopped me from running, it seems more than Trivial) and how important they are to backup (which, kindly there is a utility), but they still do not define "secrets.tdb". Perhaps this file is becoming obsolete. I kind-of look upon Samba 3.x as a call to grow up and use a "real" back-end for passwords. Ah! The growing pains! I don't know if this will help you. Most SysAdmins have much more extensive back-end configurations. We're just using the default 2.x method: smbpasswd. I have the feeling that there are files just littered all over my old installation in SAM locations and VAR locations that I should have moved, but we'll see how it goes tomorrow under load. Going with Crossed Fingers because it beats a fire.. -Moondance -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Moondance Foxmarnick Sent: Sunday, October 03, 2004 5:11 PM To: SAMBA Subject: RE: [Samba] Move Samba 3.0 PDC to different machine -Brad Saint's preserve! I thought I was the only one that couldn't find a "what-files-to-pull" list! Now there are two of us! I am moving from 2.x to 3.0 PDC (my original PDC is trying to set itself on fire) and cannot find a list of files anywhere! I even have the 'Official Samba-3' book. They cover migration.. without covering what files to pull. Here is a list of the files I _have_ pulled (I am also moving from RedHat 9 to Fedora Core 2) For Fedora: Group,group- and group.lock Passwd, passwd- and passwd.lock Shadow, shadow- and shadow.lock For Samba: Smb.conf Smbpasswd Smbusers Fedora is fine, even though I don't know what the - files or the .lock files are. But so far Samba will not let me log anyone in although testparm came up okay (just needed to remove "domain admin group"). I'm here today (sun.) to do further troubleshooting. I need to get it going today, because this is a school server and come Monday, they need it. My config is simple - only PDC for network, no password backend, no BDC. Very plain vanilla. I know my problem is the smbpasswd list, I just can't readily figure out why. I think I'm missing some files. There is a secrets.tdb file in the old Samba directory, which _may_ be the missing link, but it all needs to be researched for me. Unfortunately, with the orginal server overheating, there is no time to prep. I was planning on migrating (in a controlled fashion) to Samba 3.0 for the ACL support. Now I find myself having to do it now because 3.0 was rolled with Fedora Core 2. Just to increase the level of fun (no, really, I love a challenge ) I'm learning Linux, Domain networking and SAMBA concurrently. Thank god for message groups and the internet. -Moondance -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brad Otto Sent: Sunday, October 03, 2004 11:34 AM To: [EMAIL PROTECTED] Subject: [Samba] Move Samba 3.0 PDC to different machine Hi Samba List - I've been surfing the web for a while looking for some help with moving an existing Samba 3.0 PDC to a different machine. I don't want to have to reconfigure each machine on my domain. There has got to be a way to backup the full domain controller, reinstall the samba packages on a new Linux machine, and just restore the users database, etc. I'm sure someone has done this already. Anyone know of a good how-to or any additional information I can access? Help is appreciated. Thanks! - Brad -- 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
[Samba] Client side tools for management
Normally an easy question but I think I've somehow got the wrong answer anyway. What are the client (Windows) side tools for managing users and domains and where can they be found? Clients are XP/2K. I've got usrmgr.exe and srvmgr.exe but every time I try to use them I get this error: "A device attached to the system is not functioning." Client side tools are essential for my Admins as they are all Windows guys. For now ;-) Jim C. -- - | I can be reached on the following Instant Messenger services: | |---| | MSN: [EMAIL PROTECTED] AIM: WyteLi0n ICQ: 123291844 | |---| | Y!: j_c_llings Jabber: [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] Move Samba 3.0 PDC to different machine
-Brad Saint's preserve! I thought I was the only one that couldn't find a "what-files-to-pull" list! Now there are two of us! I am moving from 2.x to 3.0 PDC (my original PDC is trying to set itself on fire) and cannot find a list of files anywhere! I even have the 'Official Samba-3' book. They cover migration.. without covering what files to pull. Here is a list of the files I _have_ pulled (I am also moving from RedHat 9 to Fedora Core 2) For Fedora: Group,group- and group.lock Passwd, passwd- and passwd.lock Shadow, shadow- and shadow.lock For Samba: Smb.conf Smbpasswd Smbusers Fedora is fine, even though I don't know what the - files or the .lock files are. But so far Samba will not let me log anyone in although testparm came up okay (just needed to remove "domain admin group"). I'm here today (sun.) to do further troubleshooting. I need to get it going today, because this is a school server and come Monday, they need it. My config is simple - only PDC for network, no password backend, no BDC. Very plain vanilla. I know my problem is the smbpasswd list, I just can't readily figure out why. I think I'm missing some files. There is a secrets.tdb file in the old Samba directory, which _may_ be the missing link, but it all needs to be researched for me. Unfortunately, with the orginal server overheating, there is no time to prep. I was planning on migrating (in a controlled fashion) to Samba 3.0 for the ACL support. Now I find myself having to do it now because 3.0 was rolled with Fedora Core 2. Just to increase the level of fun (no, really, I love a challenge ) I'm learning Linux, Domain networking and SAMBA concurrently. Thank god for message groups and the internet. -Moondance -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brad Otto Sent: Sunday, October 03, 2004 11:34 AM To: [EMAIL PROTECTED] Subject: [Samba] Move Samba 3.0 PDC to different machine Hi Samba List - I've been surfing the web for a while looking for some help with moving an existing Samba 3.0 PDC to a different machine. I don't want to have to reconfigure each machine on my domain. There has got to be a way to backup the full domain controller, reinstall the samba packages on a new Linux machine, and just restore the users database, etc. I'm sure someone has done this already. Anyone know of a good how-to or any additional information I can access? Help is appreciated. Thanks! - Brad -- 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] Problem with XP after upgrade from 2.2 -> 3.0
On Sun, Oct 03, 2004 at 02:54:37PM +0200, Holger Krull wrote: > >included an upgrade from Samba2.2 -> Samba3.0. However since the > >upgrade I have problems using my Samba server from my XP (home) Laptop. > > > >--- > >[2004/10/03 19:19:54, 0] lib/util_sock.c:read_socket_data(384) > > read_socket_data: recv failure for 4. Error = Connection reset by peer > > Seems to come up regulary now, try > use sendfile = no > in your global section Thanks! worked a treat. Yours Tony linux.conf.au http://linux.conf.au/ Apr 18-23 2005 The Australian Linux Technical Conference! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: R: [Samba] WindowsXP SP2 shuts down while trying to log into samba 3.0.6 domain
On Mon, Oct 04, 2004 at 01:53:34AM +0200, Nicola Baldo wrote: > I have exactly the same problem. I have a Debian Woody machine running > Samba 3.0.7-1 as PDC, and some Win XP SP1 machines as client. Everything > works fine: shares, domain logon, roaming profiles, etc. > Recently I updated ONE machine to SP2 and I get the same problem, i.e. > the client seems to login properly but then shuts down, reporting the > same exception in "msgina.dll". All SP1 machines can still logon fine; > furthermore, if I log into the SP2 machine as a local user I can still > browse samba shares. > > Any help/suggestion would be very much appreciated. I recently asked a similar question. My symptoms were similar but different. My solution was to set: use sendfile = no and restart samba. See if it's the same sort of problem for you? Yours Tony linux.conf.au http://linux.conf.au/ Apr 18-23 2005 The Australian Linux Technical Conference! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba printer driver problem under xp but not win98
hi, all I have samba 2.2 as PDC running under AIX. a HP 4100tn is installed and serves printing to all win98 clients. the printer driver on AIX is for HP 4/4M plus and works fine for all 98 computers. Now i have joined the xp clients to PDC and only when adding printer, it prompts that 'the server for the 'hp laserjet 4/4M plus PS' printer does not have the correct printer driver installed. if you want to serarch for the proper driver , click okay' then i locates the HP 4100tn driver for it then it complains 'windows cannot locate a suitable printer driver.' the printer wizard screen doesn't show up as it should. i.e shows a listing of printers to choose from. it just prompt me for location of driver directly. anyway, i have read the 'using samba' from oreilly and don't see where the problem is.. what do i do now ? thanks, Qiang ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
R: [Samba] WindowsXP SP2 shuts down while trying to log into samba 3.0.6 domain
I have few Windows2000 Pro samba domain members which logon to the domain without any obstacles. Recently I decided to upgrade all client workstations to WindowsXP SP2. Fresh copy of WindowsXP joined domain properly but when I tried to logon as usual it accepted password and shut down after a while (logs of samba confirm that workstation logged on). Windows claims that winlogon caused exception in msgina.dll lib. Did anyone expirenced similar problem ? TIA R.W. I have exactly the same problem. I have a Debian Woody machine running Samba 3.0.7-1 as PDC, and some Win XP SP1 machines as client. Everything works fine: shares, domain logon, roaming profiles, etc. Recently I updated ONE machine to SP2 and I get the same problem, i.e. the client seems to login properly but then shuts down, reporting the same exception in "msgina.dll". All SP1 machines can still logon fine; furthermore, if I log into the SP2 machine as a local user I can still browse samba shares. Any help/suggestion would be very much appreciated. Best Regards, Nicola P.S.: Here are the last significant lines from /var/log/samba/log.studio (studio is the name of the SP2 machine): [2004/10/03 22:28:22, 1] smbd/service.c:make_connection_snum(648) studio (192.168.1.12) connect to service data initially as user nicola (uid=1000, gid=1000) (pid 1005) [2004/10/03 22:32:35, 1] smbd/service.c:make_connection_snum(648) studio (192.168.1.12) connect to service images initially as user nicola (uid=1000, gid=1000) (pid 1005) [2004/10/03 22:37:35, 1] smbd/service.c:make_connection_snum(648) studio (192.168.1.12) connect to service incoming initially as user nicola (uid=1000, gid=1000) (pid 1005) [2004/10/03 23:02:26, 1] smbd/service.c:close_cnum(837) studio (192.168.1.12) closed connection to service data [2004/10/03 23:02:26, 1] smbd/service.c:close_cnum(837) studio (192.168.1.12) closed connection to service images [2004/10/03 23:02:26, 1] smbd/service.c:close_cnum(837) studio (192.168.1.12) closed connection to service incoming [2004/10/03 23:02:44, 0] passdb/pdb_tdb.c:tdb_update_sam(658) Unable to modify TDB passwd ! Error: Record does not exist occured while storing the RID index (RID_0bd6) [2004/10/03 23:02:44, 1] auth/auth_sam.c:check_sam_security(273) Failed to modify entry. [2004/10/03 23:42:56, 0] lib/util_sock.c:read_socket_data(384) read_socket_data: recv failure for 4. Error = Connection reset by peer [2004/10/03 23:43:02, 1] smbd/service.c:make_connection_snum(648) studio (192.168.1.12) connect to service data initially as user nicola (uid=1000, gid=1000) (pid 1990) [2004/10/03 23:49:16, 1] smbd/service.c:close_cnum(837) studio (192.168.1.12) closed connection to service data [2004/10/04 00:13:08, 0] lib/util_sock.c:read_socket_data(384) read_socket_data: recv failure for 4. Error = No route to host -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] brlock.tdb/locking.tdb permissions problem?
I'm running 2.11, and I've noticed a number of log entries that look like so: angie.log: tdb(/usr/local/samba/var/locks/locking.tdb): expand_file ftruncate to 8192 failed (Permission denied) [2004/10/03 15:14:36, 0] tdb/tdbutil.c:tdb_log(531) tdb(/usr/local/samba/var/locks/brlock.tdb): expand_file ftruncate to 8192 failed (Permission denied) The files in question look like this: -rw-r--r-- 1 root root 8192 Oct 3 15:30 brlock.tdb -rw-r--r-- 1 root root 8192 Oct 3 11:30 locking.tdb Anything to be gained - or lost - by chmoding 666 on these? Or is the error message misleading, and referring to a file that these point to rather than these files? Thanks much, -- Tim Boyer [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] smbfs hang with moderate use
On Sun, 03 Oct 2004 14:12:00 -0500 "Jake Brownson" <[EMAIL PROTECTED]> wrote: > This may not be the place to talk about smbfs, but it's also possible this is a > samba problem... > > Here's the situation, I mount a share on my Linux client from a Linux samba server, > and it seems to work okay at > first... If I try and play a video from the share, it hangs after an unspecified > time, maybe 5-10 mins... if I try and > play multiple video's, or let konquror try and thumbnail them then it hangs very > quickly (seconds). > > By hang I mean this: > if I try and do an ls in the directory above the mount, ls hangs... if I try and > access any files/directories in the > mount the software accessing them hangs, if something was accessing it when the > initial hang happens I have to kill -9 > it. Then I killall smbmount, and umount -l the mount, and all is back to normal. > > I have tested this to/from different distro's/machines including Mandrake, Debian, > and Gentoo. All exibited the same > behavior. > > I am running a 2.6.x kernel on all machines used for testing > > I also tried using MS Windows XP as a server, and it seemed to run just fine. I was > unable to get it to hang. This leads > me to believe it may be samba that is causing the problems. > > Any ideas? > > Thanks, > > ~Jake B Thats "exaclty" the same what my samba server/share doesexcept that the movie share doenst seem to hang at all...maybe it has something todo with the amount of data that gets send. My last post to this topic.[Samba] Listening to .wav files let the share "die"? Regards Julius -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Scaleable LDAP Backends for Samba; Domain Controllers group access
OK, just went through the research on how to set up scalable LDAP backends. By scaleable I mean without having Samba use the root dn to access ldap. This way, if you are going through the logs, you will be able to tell which domain controller is doing what. As far as I know, it *HAS* to be done this way because the posixGroup schema is way out of date (it wont take a dn as a member). This info according to the gurus on the OpenLDAP list. In effect we have to keep a duplicate set of group records for those that will have access to the database. For example, if you want to give group based access to a group like "Domain Controllers", you would have to keep a duplicate record using a different objectClass. Oh, yes and if you know a better way, I am always looking for better ways to get things done. :-) How I did it was like this: 1. I set up a new OU called "Access Groups". 2. I created a new groupOfNames object in that OU called "Domain Controllers" For the "member" attribute, use the dn of the host record for your primary DC. 3. Using gq, I added simpleSecurityObject to the host record so that it would have a password. Note: Probably can't use the machine account instead due to some rather complex password issues. 4. I set the password by pasting the results of the following command into the userPassword attribute: [EMAIL PROTECTED] openldap]$ read -sp "Enter password to be used:" pw;echo;slappasswd -s $pw;unset pw Enter password to be used: {SSHA}4FMerwu0qcafPYXwxlpTxuRcdtTTvZN6 [EMAIL PROTECTED] openldap]$ 5. I verified that I had a proper set of ACLs by using "slapd -t" to test them. That way you don't have to restart to find out if they are bad. You also need a line like the following to each Access clause: by group="cn=Domain Controllers,ou=Access Groups,$2" write 6. Group access can now be had by placing the dn of the controller's host record (which must have a simpleSecurityObject) in the member attribute of the new groupOfNames group called "Domain Controllers". To add more controllers, just create a new host record, add simpleSecurityObject to it, and add the dn of that host record as a member of the groupOfNames group called "Domain Controllers". More details at: http://mandrake.vmlinuz.ca/bin/view/Main/SambaThreeDomainController#OpenLDAP_Structural_Adjustments Jim C. -- - | I can be reached on the following Instant Messenger services: | |---| | MSN: [EMAIL PROTECTED] AIM: WyteLi0n ICQ: 123291844 | |---| | Y!: j_c_llings Jabber: [EMAIL PROTECTED]| - -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Move Samba 3.0 PDC to different machine
Hi Samba List - I've been surfing the web for a while looking for some help with moving an existing Samba 3.0 PDC to a different machine. I don't want to have to reconfigure each machine on my domain. There has got to be a way to backup the full domain controller, reinstall the samba packages on a new Linux machine, and just restore the users database, etc. I'm sure someone has done this already. Anyone know of a good how-to or any additional information I can access? Help is appreciated. Thanks! - Brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbfs hang with moderate use
This may not be the place to talk about smbfs, but it's also possible this is a samba problem... Here's the situation, I mount a share on my Linux client from a Linux samba server, and it seems to work okay at first... If I try and play a video from the share, it hangs after an unspecified time, maybe 5-10 mins... if I try and play multiple video's, or let konquror try and thumbnail them then it hangs very quickly (seconds). By hang I mean this: if I try and do an ls in the directory above the mount, ls hangs... if I try and access any files/directories in the mount the software accessing them hangs, if something was accessing it when the initial hang happens I have to kill -9 it. Then I killall smbmount, and umount -l the mount, and all is back to normal. I have tested this to/from different distro's/machines including Mandrake, Debian, and Gentoo. All exibited the same behavior. I am running a 2.6.x kernel on all machines used for testing I also tried using MS Windows XP as a server, and it seemed to run just fine. I was unable to get it to hang. This leads me to believe it may be samba that is causing the problems. Any ideas? Thanks, ~Jake B -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] commit changes to removable media + error copying
SAMBA 2.2.8A I am automounting a 6-in-1 smartmedia reader such as: /etc/auto..master /mnt/auto /etc/auto.misc --timeout=1 /etc/auto.misc carda -fstype=msdos,rw,nosuid,nodev,umask=000 :/dev/sda1 I am also making that a samba share: [card_a] comment = Removable Card Media path = /mnt/auto/carda browseable = yes public = no read only = no oplocks = no level2 oplocks = no force directory mode = 0777 create mask = 777 force group = domain-users When browsing to the directory, it will automount and display the files. I can update/delete/change the files. However, in order for the changes to commit, I need to browse away from share for the timeout period (1 second) or leave the card in the reader for about a minute. Is there a way to have the changes commit so it could be more transparent to the end user?? also - if I try to copy the file (control-c/control-v) I receive the error message: "cannot copy : invalid file handle" The only log files I see are: [2004/10/03 13:23:50, 0] smbd/fileio.c:seek_file(42) seek_file: (64mb.mp3) sys_lseek failed. Error was Invalid argument but it doesnt necessarily coincide with the times I try to do the cut-n-paste however, if I copy between two different cards in the reader (CF->SD) then it works fine Thanks in advance Chris -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] RE: Problem setting up Samba on Fedora Core 2 / XP
I forgot to include a copy of my smb.conf in the earlier message: # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2004/10/02 23:23:09 # Global parameters [global] security = SHARE [test] comment = for testing only path = /usr/local/samba read only = No guest ok = Yes _ From: Kevin Barry [mailto:[EMAIL PROTECTED] Sent: Sunday, October 03, 2004 12:48 PM To: '[EMAIL PROTECTED]' Subject: Problem setting up Samba on Fedora Core 2 / XP I am setting up Samba between a Windows XP and Fedora Core 2 machine but the FC2 machine is not showing in network neighborhood although I have run the commands below on the FC2 box with no errors. The FC2 box is leitrim and the XP machine is kevinden. [EMAIL PROTECTED] root]# smbclient -L leitrim Password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7-2.FC2] Sharename Type Comment - --- test Disk for testing only IPC$ IPC IPC Service (Samba 3.0.7-2.FC2) ADMIN$ IPC IPC Service (Samba 3.0.7-2.FC2) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7-2.FC2] Server Comment - --- LEITRIM Samba 3.0.7-2.FC2 Workgroup Master - --- WORKGROUP LEITRIM [EMAIL PROTECTED] root]# smbclient -L leitrim Password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7-2.FC2] Sharename Type Comment - --- test Disk for testing only IPC$ IPC IPC Service (Samba 3.0.7-2.FC2) ADMIN$ IPC IPC Service (Samba 3.0.7-2.FC2) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7-2.FC2] Server Comment - --- LEITRIM Samba 3.0.7-2.FC2 Workgroup Master - --- WORKGROUP LEITRIM [EMAIL PROTECTED] root]# smbstatus Samba version 3.0.7-2.FC2 PID Username Group Machine --- Service pid machine Connected at --- No locked files [EMAIL PROTECTED] root]# net lookup leitrim 192.168.0.7 [EMAIL PROTECTED] root]# net lookup kevinden 192.168.0.8 [EMAIL PROTECTED] root]# smbclient -L leitrim Password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7-2.FC2] Sharename Type Comment - --- test Disk for testing only IPC$ IPC IPC Service (Samba 3.0.7-2.FC2) ADMIN$ IPC IPC Service (Samba 3.0.7-2.FC2) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7-2.FC2] Server Comment - --- LEITRIM Samba 3.0.7-2.FC2 Workgroup Master - --- WORKGROUP LEITRIM [EMAIL PROTECTED] root]# smbclient -L kevinden Password: Domain=[KEVINDEN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Sharename Type Comment - --- E$ Disk Default share IPC$ IPC Remote IPC D$ Disk Default share print$ Disk Printer Drivers SharedDocs Disk ADMIN$ Disk Remote Admin C$ Disk Default share Printer Printer HP OfficeJet K60 Domain=[KEVINDEN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Server Comment - --- Workgroup Master - --- [EMAIL PROTECTED] root]# What am I missing? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] [OZS-14917]: Re: Thank you for delivery
== Please reply above this line == [EMAIL PROTECTED], Your ticket has been submitted to our General department, one of the staff members will review it and reply accordingly. Listed below are details of this ticket, you will need to use the ticket key listed below to update the status of this ticket from web. Ticket ID: OZS-14917 Ticket Key: 2084d8 Subject: Re: Thank you for delivery Department: General You can check the status or reply to this ticket online at http://support.vypress.com/index.php?_a=tickets&_m=viewmain&[EMAIL PROTECTED]&ticketkeyre=2084d8&_i=OZS-14917 Please let us know if we can assist you any further, VyPRESS -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problem setting up Samba on Fedora Core 2 / XP
I am setting up Samba between a Windows XP and Fedora Core 2 machine but the FC2 machine is not showing in network neighborhood although I have run the commands below on the FC2 box with no errors. The FC2 box is leitrim and the XP machine is kevinden. [EMAIL PROTECTED] root]# smbclient -L leitrim Password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7-2.FC2] Sharename Type Comment - --- test Disk for testing only IPC$ IPC IPC Service (Samba 3.0.7-2.FC2) ADMIN$ IPC IPC Service (Samba 3.0.7-2.FC2) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7-2.FC2] Server Comment - --- LEITRIM Samba 3.0.7-2.FC2 Workgroup Master - --- WORKGROUP LEITRIM [EMAIL PROTECTED] root]# smbclient -L leitrim Password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7-2.FC2] Sharename Type Comment - --- test Disk for testing only IPC$ IPC IPC Service (Samba 3.0.7-2.FC2) ADMIN$ IPC IPC Service (Samba 3.0.7-2.FC2) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7-2.FC2] Server Comment - --- LEITRIM Samba 3.0.7-2.FC2 Workgroup Master - --- WORKGROUP LEITRIM [EMAIL PROTECTED] root]# smbstatus Samba version 3.0.7-2.FC2 PID Username Group Machine --- Service pid machine Connected at --- No locked files [EMAIL PROTECTED] root]# net lookup leitrim 192.168.0.7 [EMAIL PROTECTED] root]# net lookup kevinden 192.168.0.8 [EMAIL PROTECTED] root]# smbclient -L leitrim Password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7-2.FC2] Sharename Type Comment - --- test Disk for testing only IPC$ IPC IPC Service (Samba 3.0.7-2.FC2) ADMIN$ IPC IPC Service (Samba 3.0.7-2.FC2) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7-2.FC2] Server Comment - --- LEITRIM Samba 3.0.7-2.FC2 Workgroup Master - --- WORKGROUP LEITRIM [EMAIL PROTECTED] root]# smbclient -L kevinden Password: Domain=[KEVINDEN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Sharename Type Comment - --- E$ Disk Default share IPC$ IPC Remote IPC D$ Disk Default share print$ Disk Printer Drivers SharedDocs Disk ADMIN$ Disk Remote Admin C$ Disk Default share Printer Printer HP OfficeJet K60 Domain=[KEVINDEN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Server Comment - --- Workgroup Master - --- [EMAIL PROTECTED] root]# What am I missing? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Using a single LDAP server to authenticate multiple Samba3 PDCs
Sorry if this is a FAQ but I have tried searching the web and both samba3 books but I can't find the answer. I would like to use a single LDAP server (openldap) to authenticate multiple Samba3 PDCs serving different domains to authenticate Windows XP clients. Ideally I would like an XP client to appear in both domains and the user to get different profiles depending on which domain they logon to. Is this possible and how do I treat SIDs etc? We have Samba3/LDAP working with a single PDC/domain. TIA John Williams -- J.Williams LHS Aston University B4 7ET UK -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Switch profile from local to roaming?
You could try this: on the local computer add an account, right click "my computer" > manage > Local Users and Groups > rclick > add user. Put your domain in and the user name (the user must be a domain user already) Make them a power user. Log off, log on as new user to domain, log off (this will make a section for them under docs and settings. Log on as domain admin. Right click my computer > properties > advanced > User Profiles : Settings. Select the old account (it will be in the format user/localmachinename) Click "Copy To" Go to the documents and settings dir (usually C:) and select the new domain users dir you just made by logging on as her. Select this dir Click "Permitted to use: change" Select the DOMAIN user, ie DOMAIN\User Press OK, account is copied exactly, log off Log on to domain as new user, log off (this copies the files to the roaming location) This has always worked for me, the only thing that sometimes does not work is that their desktop background changes. I normally just tell them to sod off if they complain, but you can get it back (it is still selected in the display properties, just browse for the file again and apply) Hope that helps, H Misty Stanley-Jones wrote: On Thursday 30 September 2004 02:58, deff wrote: You had your answers right in front of ya. Every xp includes "Files and Settings transfer wizard" (accessories->system tools) for this job. It's simple : I had high hopes for this. I went and did it this afternoon. First I tried copying only the settings. I put them in a folder on her hard drive, made that folder fully controllable by SAMBADOMAIN/heruser as well as LOCALCOMPUTER/heruser. Logged into the Samba domain, imported her settings, and logged off. Logged back in and it SAID it had transferred her settings. But it had not! I don't understand why, So right now I am doing it again, having chosen both files AND settings. This doesn't seem right as it is copying every file off her entire computer. However I will try it and see. Thanks for the suggestion anyway. :/ Misty 1. login as local user, run wizard, select old computer, select some directory to store your data, click next, wait till its done, logoff. 2. login as new user, run wizard, select new computer, find directory you stored your data to, click next, wait till its done, relogon. You're done. Migrated some 20 pcs with it and it was a breeze, however, there might be some issues with file ownerships, but users don't complain so neither do I. deff On Wednesday 29 September 2004 19:50, Misty Stanley-Jones wrote: I've got a WinXP machine that was configured for local profiles. I have now joined that machine to the domain, but when I try to log in as a user, it tries to use a roaming profile. Fine, that's what I want anyway. But it doesn't do the smart thing and copy the user's local profile to roaming -- it gives an error instead. OK, no problem, I will change the type. I log in as local admin and go to her profile. It only gives me Local as an option. Maybe it's because I'm not logged into the domain. OK, I log into the domain as Administrator (alias root -- uid of 0). It doesn't even let me SEE her profile then. Because it is local, I assume. So ok, I add MYDOMAIN\Administrator as a local administrator on her machine. It lets me see her profile now but I still can't change it to roaming. And every time I try to copy it into either Administrator's directory on the server, or hers, it gives me Permission Denied. So what is the real way to get this accomplished? Thanks, Misty -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with XP after upgrade from 2.2 -> 3.0
included an upgrade from Samba2.2 -> Samba3.0. However since the upgrade I have problems using my Samba server from my XP (home) Laptop. --- [2004/10/03 19:19:54, 0] lib/util_sock.c:read_socket_data(384) read_socket_data: recv failure for 4. Error = Connection reset by peer Seems to come up regulary now, try use sendfile = no in your global section -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Post SP2(?): Login as administrator
Hi, I installed SP2 on a winXP machine (Samba 3.0.7, PDC/LDAP). Now when I login as a domain administrator the machine will reboot. No problems logging in as a user or as a local administrator. No problems connecting to a network resource as a domain administrator. Nothing in Samba or XP logs. Other SP2 machines in another Domain (Samba 3.0.7, NT4 Domain), have not such issues. Is this an SP2 or Samba issue (or combination thereof)? Thanks Gil -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Listening to .wav files let the share "die"?
Hi, i can watch movies from my samba shares, but if i use xmms to play wav files and for example listen some seconds to every song the connection dies after a few songs. even ls gives me "input/output error", i can remount the share just after it was deadbut its just a question of time. ive tried different hds, different filesystems (xfs seems to perform better then reiserfs in my case) and updated to 3.0.7no luck. harddisk encryption with reiserfs/xfs shouldnt be a problem to samba if it worked with the rest of the system before? i can copy the music with scp at about 10Mbyte/s. Any ideas? Regards Julius kernel 2.6.8 samba 3.0.7 on both systems Heres the server config: [global] workgroup = new netbios name = bootcd guest account = nobody guest ok = yes log file = /var/log/log.samba log level = 1 security = share #tuning? socket options = TCP_NODELAY IPTOS_LOWDELAY read raw = yes # Default write raw = yes# Default oplocks = yes # Default max xmit = 65535 # Default dead time = 15 # Default is 0 getwd cache = yes lpq cache = 30 #wins support = yes wins server = 192.168.xx.xx #domain master = yes #local master = yes #preferred master = yes #os level = 65 interfaces = eth0 bind interfaces only = Yes [music] comment = naja path = /mnt/music read only = yes [test] comment = naja path = /mnt/test read only = yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with XP after upgrade from 2.2 -> 3.0
Hello All, About 2 weeks ago I upgraded from debian woody to sarge. This included an upgrade from Samba2.2 -> Samba3.0. However since the upgrade I have problems using my Samba server from my XP (home) Laptop. The symptoms are basically "explorer" freezeing on most network browseing type actions. Or if I open a file (eg a movie). I'm pretty confident that I don't have a hardware level nor a basic IP type problem, as DNS and all other network actions are unimpared. The message shows up as: --- [2004/10/03 19:19:54, 0] lib/util_sock.c:read_socket_data(384) read_socket_data: recv failure for 4. Error = Connection reset by peer --- I've enabled debug level 10 and loads of tcpdumps but nothing stands out as being obviously wrong. Out of some bizzare hunch I added "max protocol = LANMAN2" and restarted samba. This has made the problems dissapper. However my wife has an older notebook and is still running Win98se, "dropping" the protocol level to LANMAN2 seems to break her machine. I rarely use windows on my laptop but it'd be nice to be wheer I was before the upgrade. I've seen other people report what appears to be similar problems (both here[1] and other lists[2]). Does anyone have any idea where to look for a better solution that swapping the protocol level based on the client? I've tried 3.0.6 and 3.0.7, I've also tried upgrading to SP2 (I have turned off the firewall). If this is a known problem I'd really appreciate being pointed at the solution. Yours Tony [1] http://lists.samba.org/archive/samba/2004-September/091704.html [2] http://lists.samba.org/archive/linux/2004-October/012076.html linux.conf.au http://linux.conf.au/ Apr 18-23 2005 The Australian Linux Technical Conference! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba