[Samba] SMB-File access audit, howto?
hi, How can i config smb server to log every file access request, say WHO access WHICH file at WHEN, for read or for write(sounds like WINNT's audit)?Thanks in advance.Oscar = VIPÓÊÏä³öпÓŻݼÛÿÔÂÖ»Òª4ԪǮ£¡ ÓÃvipÓÊÏ䣬ËÍ¡¶ÇóÖ°±¦µä¡·£¡ ¶¨°üÔ¶ÌÐÅ£¬ËÍVIPÓÊÏä £¡ 10ԪǮÄÜ×öʲô£¿°²È«Îȶ¨£¬¾¡ÔÚÍøÒ×VIPÓÊÏ䣡 ÍøÒ×VIPÓÊÏ䣬´ò¸öµç»°Á¢¼´ÓµÓУ¡
[Samba] win_print
please i have one questions : i have a win print epson epl n2700 my lan is on linux is it possible to print by samba on this printer? the linux driver for this print don't exist and don't has compatibility whit another printer. if it is posssible, plese tell me the step thanks _ Invia e ricevi la posta di Hotmail sul tuo cellulare: http://mobile.msn.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Join samba to W2000 Domain fails.
Hi, I'm facing problem toconfigure Samba 2.2.8. My Unix server is Sun with Solaris 2.8. I've installed Samba and in first step I will join My samba's machine to myW2000 Domain. I've entered the following command: smbpasswd -j TOOLS_NE -r CPQ_CLUST1_2 -U samba%passwd -D 10 The result is: added interface ip=@IP bcast=@IP nmask=255.255.254.0added interface ip=@IP bcast=@IP nmask=255.255.255.0cli_init_creds: user samba domain TOOLS_NE flgs: 0ntlmssp_cli_flgs:0resolve_srv_name: CPQ_CLUST1_2resolve_lmhosts: Attempting lmhosts lookup for name CPQ_CLUST1_20x20getlmhostsent: lmhost entry: @IP CPQ_CLUST1_2 cli_establish_connection: MAXISUN00 connecting to CPQ_CLUST1_220 (@IP) - samba [TOOLS_NE]Connecting to @IP CPQ_CLUST1_2 at port 139socket option SO_KEEPALIVE = 0socket option SO_REUSEADDR = 0socket option SO_BROADCAST = 0socket option TCP_NODELAY = 1socket option IPTOS_LOWDELAY = 0socket option IPTOS_THROUGHPUT = 0socket option SO_SNDBUF = 16384socket option SO_RCVBUF = 24820Could not test socket option SO_SNDLOWAT. Could not test socket option SO_RCVLOWAT.Could not test socket option SO_SNDTIMEO.Could not test socket option SO_RCVTIMEO.write_socket(4,76)write_socket(4,76) wrote 76Sent session requestgot smb length of 0size=0smb_com=0x0smb_rcls=0smb_reh=0smb_err=0smb_flg=0smb_flg2=0smb_tid=0smb_pid=0smb_uid=0smb_mid=0smt_wct=0smb_bcc=0write_socket(4,168)write_socket(4,168) wrote 168got smb length of 121size=121smb_com=0x72smb_rcls=0smb_reh=0smb_err=0smb_flg=136smb_flg2=1smb_tid=0smb_pid=23098smb_uid=0smb_mid=1smt_wct=17smb_vwv[0]=7 (0x7)smb_vwv[1]=12803 (0x3203)smb_vwv[2]=256 (0x100)smb_vwv[3]=1024 (0x400)smb_vwv[4]=65 (0x41)smb_vwv[5]=0 (0x0)smb_vwv[6]=256 (0x100)smb_vwv[7]=0 (0x0)smb_vwv[8]=0 (0x0)smb_vwv[9]=64768 (0xFD00)smb_vwv[10]=243 (0xF3)smb_vwv[11]=39424 (0x9A00)smb_vwv[12]=6646 (0x19F6)smb_vwv[13]=43772 (0xAAFC)smb_vwv[14]=49642 (0xC1EA)smb_vwv[15]=34817 (0x8801)smb_vwv[16]=2303 (0x8FF)smb_bcc=52[000] 55 E0 FC 22 A7 F1 12 DB 54 00 4F 00 4F 00 4C 00 U.." T.O.O.L.[010] 53 00 5F 00 4E 00 45 00 00 00 43 00 50 00 51 00 S._.N.E. ..C.P.Q.[020] 5F 00 43 00 4C 00 55 00 53 00 54 00 31 00 5F 00 _.C.L.U. S.T.1._.[030] 32 00 00 00 2... size=121smb_com=0x72smb_rcls=0smb_reh=0smb_err=0smb_flg=136smb_flg2=1smb_tid=0smb_pid=23098smb_uid=0smb_mid=1smt_wct=17smb_vwv[0]=7 (0x7)smb_vwv[1]=12803 (0x3203)smb_vwv[2]=256 (0x100)smb_vwv[3]=1024 (0x400)smb_vwv[4]=65 (0x41)smb_vwv[5]=0 (0x0)smb_vwv[6]=256 (0x100)smb_vwv[7]=0 (0x0)smb_vwv[8]=0 (0x0)smb_vwv[9]=64768 (0xFD00)smb_vwv[10]=243 (0xF3)smb_vwv[11]=39424 (0x9A00)smb_vwv[12]=6646 (0x19F6)smb_vwv[13]=43772 (0xAAFC)smb_vwv[14]=49642 (0xC1EA)smb_vwv[15]=34817 (0x8801)smb_vwv[16]=2303 (0x8FF)smb_bcc=52[000] 55 E0 FC 22 A7 F1 12 DB 54 00 4F 00 4F 00 4C 00 U.." T.O.O.L.[010] 53 00 5F 00 4E 00 45 00 00 00 43 00 50 00 51 00 S._.N.E. ..C.P.Q.[020] 5F 00 43 00 4C 00 55 00 53 00 54 00 31 00 5F 00 _.C.L.U. S.T.1._.[030] 32 00 00 00 2... write_socket(4,166)write_socket(4,166) wrote 166got smb length of 35size=35smb_com=0x73smb_rcls=1smb_reh=0smb_err=5smb_flg=136smb_flg2=32769smb_tid=0smb_pid=23098smb_uid=0smb_mid=1smt_wct=0smb_bcc=0size=35smb_com=0x73smb_rcls=1smb_reh=0smb_err=5smb_flg=136smb_flg2=32769smb_tid=0smb_pid=23098smb_uid=0smb_mid=1smt_wct=0smb_bcc=0failed session setupError connecting to CPQ_CLUST1_2Unable to join domain TOOLS_NE. my smb.conf is: # Samba config file created using SWAT# from # Date: 2002/04/17 12:55:49 # Global parameters[global] netbios name = MAXISUN# security = user# encrypt passwords = Yes password server = CPQ_CLUST1_2 [homes] read only = Nomaxisun root# What is wrong? Where can I find rapid help? Thanks for your help. Regards, Didier.
[Samba] Samba PDC windows XP
When I try to login to my Samba 2.2.3a PDC with my Windows XP Professional computer, it says that the domain controller is down or unavailable or that it cannot find a computer account on the server. But when I joined the domain, it created a computer trust account in my smbpasswd file and /etc/passwd I know it works because my Windows Nt and 2K computer connects to the domain fine. I have applied signorseal patch too, but without result. Can you help me? Many thanks Paolo Federici -- +---+ | Paolo Federici| | Dipartimento di Ingegneria dell'Informazione | | Parco Area delle Scienze 181/a FAX: +39(0521)905723 | | I-43100 Parma (ITALY) Tel: +39(0521)906221 | | | +---+ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] win_print
If you don't have a linux driver for your printer, you can likely forget using it. Have you visited the ghostview homepage to look for a driver? The link below might be useful to you, although I didn't see your printer listed. http://www.turboprint.de/english.html I have never found a way to make windows filter print jobs from other computers. It sounds so simple to do, but, windows is weak on handling postscript documents. The link below might provide some clues, but, it still needs a ghostview driver: http://www.lerup.com/printfile/ The easiest solution might be to buy an inkjet printer that supports linux with a vendor supplied driver and graphical interface, like the Lexmark z53. Joel On Tue, Apr 23, 2002 at 07:41:10AM +, ciccia panza wrote: please i have one questions : i have a win print epson epl n2700 my lan is on linux is it possible to print by samba on this printer? the linux driver for this print don't exist and don't has compatibility whit another printer. if it is posssible, plese tell me the step -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] [Bug] in getgrent_list() in HEAD
hi i have a some trouble with HEAD CVS branch. when i try to login to my domain from nt4 i get this message in my log's file: === [2002/04/23 17:25:42, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 4269 (3.0-alpha17) Please read the file BUGS.txt in the distribution [2002/04/23 17:25:42, 0] lib/fault.c:fault_report(39) === [2002/04/23 17:25:42, 0] lib/util.c:smb_panic(1138) PANIC: internal error same message appears when i call usrmgr in nt box. i try to found trouble. and i explore what this happens when getgrent_list() is called. in this function i found that string 97 grp = getgrent(); not reached when getgrent() try get last string from /etc/group. i write my small test program test.c #include stdlib.h #include grp.h #include sys/types.h main(){ struct group *grp; grp = getgrent(); while (grp != NULL) { printf(%s:%d,grp-gr_name,grp-gr_gid); grp = getgrent(); printf(...\n); } endgrent(); } - end - and she was run whithout any problem. what's wrong? my box: debian woody kernel 2.4.19-pre7-ac2 (i try whith many other) libc6 2.2.5-4 (debian) ps: sorry for my poor english -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba PDC Concurrent Logins
Hello Samba Developers, we have a little Samba setup here with about 8 clients (W2K, SP2) and Samba (samba-2.2.3a) installed on a Linux System (Linux version 2.4.18-pre3-ac1). We have PDC enbabled, all users are authenticated by Samba via smbpasswd. Profiles are kept in /home/profiles/samba/username/. Now the problem: A user eddie logs on one W2K. Profiles gets copied. Now eddie logs on to another W2K. Profiles gets copied again. eddie logs out of the second W2K, pofiles gets copied back. eddie logs out of the first W2K. Again, profile gets copied back. Now eddie wants to log on again in a W2K. W2K says it cannot open the profile and logs on eddie with a default profile. 1) People here are now very careful not to login twice on two maschines with the same login. But this is not what we want. Is there any solution to this problem, or should I provide more information on our setup? 2) I've noticed a problem when the W2K client does not log out the user. Then smbd sits there locking /home/profiles/samba/username/NTUSER.DAT. Next time the user tries to login, W2K cannot open NTUSER.DAT because it is locked by the stale smbd. I kill the smbd manually and then the user can login. I'm willing to provide as much information as necessary to get this problem solved / fixed and I much appreciate any help / hints and advise. With regards, ;Martin P.S.: I'm no list subscriber, so please reply also privately -- Dipl.-Kfm. Martin Rode Executive Producer [EMAIL PROTECTED] Zeroscale GmbH Co. KG Fon +49-(0)30-4281-8001 Frankfurter Allee 73d Fax +49-(0)30-4281-8008 10247 Berlin, Germany Cell +49-(0)163-5321400 http://www.zeroscale.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] call_nt_transact_ioctl(1798)
On Sat, 20 Apr 2002, David Loegering wrote: I am getting this error in my samba logs. It typically happens while a terminal server connects to the samba share. What is this call and what damage if any is this doing to my data files? We are a $60 million per company and I need an answer as soon as possible. My boss will not be happy if I steered him wrong by suggesting Samba could replace NT back end file servers. It's an informative message indicating that we don't implement a particular NT IOCTL command. Are you seeing data corruption? Or are you just concerned? btw...the fact that you are a $60 million company doesn't change the fact that you are asking for free advice from volunteers. However, if you are interested in paid support options, there are many companies that offer this listed at http://samba.org Hope this helps. cheers, jerry - SAMBA Team http://www.samba.org --http://www.plainjoe.org Sam's Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca-- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba PDC windows XP
Are you using encrypted password? Davide Paolo Federici wrote: When I try to login to my Samba 2.2.3a PDC with my Windows XP Professional computer, it says that the domain controller is down or unavailable or that it cannot find a computer account on the server. But when I joined the domain, it created a computer trust account in my smbpasswd file and /etc/passwd I know it works because my Windows Nt and 2K computer connects to the domain fine. I have applied signorseal patch too, but without result. Can you help me? Many thanks Paolo Federici -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba PDC windows XP
In my smb.conf I find this line : encrypt passwords = true Paolo Davide Dozza wrote: Are you using encrypted password? Davide Paolo Federici wrote: When I try to login to my Samba 2.2.3a PDC with my Windows XP Professional computer, it says that the domain controller is down or unavailable or that it cannot find a computer account on the server. But when I joined the domain, it created a computer trust account in my smbpasswd file and /etc/passwd I know it works because my Windows Nt and 2K computer connects to the domain fine. I have applied signorseal patch too, but without result. Can you help me? Many thanks Paolo Federici -- +---+ | Paolo Federici| | Dipartimento di Ingegneria dell'Informazione | | Parco Area delle Scienze 181/a FAX: +39(0521)905723 | | I-43100 Parma (ITALY) Tel: +39(0521)906221 | | | +---+ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] alloc_mem with cups - printing
Hi, I am using samba (latest cvs, 2 min. ago) to provide printer functionality to some windows-clients (w2k, nt4sp6a). Every seconds I get 5 of these entries in my log: [2002/04/23 15:45:36, 0] rpc_server/srv_spoolss_nt.c:_spoolss_enumprinterdataex(7762) talloc_realloc failed to allocate more memory for data! Does anybody know what that means? Martin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba+Ldap - trying to change password
From: George Farris [EMAIL PROTECTED] To: 'Samba List' [EMAIL PROTECTED] Sent: Monday, April 22, 2002 4:18 PM Does your password contain a space character? I had to modify smbldap-passwd.pl to accept passwords that contained a space character other wise I got that message. Did you submit the patch? Using (a) space(s) in a password should be natively supported. Simon -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] A very nice game
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba+Ldap - trying to change password
I did send some mail but never got a reply. I also had to modify smbldap-useradd.pl and move, rid:$userrid up from the section with lmPassword in it to the section with sambaAccount, otherwise I would get a error when working with accounts because the username would not initially be created with an rid. On Tue, 2002-04-23 at 06:49, Simon Jester wrote: From: George Farris [EMAIL PROTECTED] To: 'Samba List' [EMAIL PROTECTED] Sent: Monday, April 22, 2002 4:18 PM Does your password contain a space character? I had to modify smbldap-passwd.pl to accept passwords that contained a space character other wise I got that message. Did you submit the patch? Using (a) space(s) in a password should be natively supported. Simon -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- == George FarrisComputer Support Cowichan [EMAIL PROTECTED]Malaspina University-College A conclusion is simply the place where you got tired of thinking. --- Electronic Frontier Foundation http://www.eff.org --- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] logging a win2k box into a Samba 2.2.2 PDC
Hello, I am having some trouble logging a win2k box into a Samba 2.2.2 PDC. Win98,95, and ME boxes can log in fine. When I try and log in my win2k box I get this error: The account used is a computer account. Use your global user account or local user account to access this server. Maybe someone can shed some light on this strange error?? I do have a user account set up on the samba server along with a machine account which I am told is needed. I can map drives manually off of the server I just cannot log into the PDC normally. Thanks for any help. If you need more info on this just let me know. thanks!! -Josh -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Time Outs on Samba Server
To Whom this May Concern: I have installed samba on my RedHat 7.2 linux server. It works fine for a period but then it times out loosing the connection and locks out the server preventing further connection between the client and the server. To correct the problem I have to walk up to the server and hit the enter key. This frees the lockup and then I have to re-establish the connection closing down the client application and logging back in. Can you please help me! P.S. Can you email back to this address: [EMAIL PROTECTED] Thanks, Tony Neves -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] W2K and Solaris Samba share dropping from time to time
Hello - I have a samba share on Solaris that I connect from W2K. The connect drops every day from time to time. I am using the latest vesion of Samba. Can someone advice on any solutions? Thanks Niraj _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Unable to join domain (Samba client to Samba PDC)
I have set up one Samba server as a PDC which seems to work okay. From a W2K machine, I am able to join the domain and get logins for users defined on the PDC. However, I am setting up a second Samba server and want it to join the domain so I can use security = domain. Lets call the PDC samba1 and the new samba client samba2. ON samba 1, I did: useradd -c 'Samba2 SAMBA' -d /dev/null -M -g 202 -s /bin/false -u 1503 samba2\$ passwd -l samba2\$ smbpasswd -a -m samba2\$ to create the trust account. Then on samba2, I run: smbpasswd -j DOMAIN -r samba1 -UAdministrator -D4 and get Connecting to 192.168.0.100 at port 139 session setup ok Domain=[DOMAIN] OS=[Unix] Server=[Samba 2.2.2] Unable to join domain DOMAIN. I have tried various log levels on both boxes but got nothing illuminating except the following on the PDC's samba2.log file: [2002/04/23 12:05:43, 3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(182) Error closing policy Both machines are running samba 2.2.2 on Linux RH7.1 machines. samba is NOT running on samba2 when I try the smbpasswd command. I tried erasing the MACHINE.SID and secrets.tdb files before running the smbpasswd command. Afterwards, there is a new secrets.tdb file but it still fails. If I set up samba2 to use security = server and password server = samba1 it seems to work okay getting passwords from samba1 and allowing clients to mount shares. Is there any advantage to using security = domain in this setting anyway? -- -- Paul Raines email: [EMAIL PROTECTED] MGH-NMR Center. tel:(617)-724-2369 149 (2301) 13th Street fax:(617)-726-7422 Charlestown, MA 02129 USA -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] The Network path was not found - Please help
Hi Joel, Thanks for your tip! Unless I have to, I'd rather prefer not to use lmhosts. I actually had wins server and some other global parameters recommended in BROWSING.txt defined in smb.conf. But I'm still having this cross subnet browsing issue. Not sure what am I missing... Desmond Original Message Subject: Re: [Samba] The Network path was not found - Please help Date: Mon, 22 Apr 2002 22:01:18 -0400 From: Joel Hammer [EMAIL PROTECTED] To: Desmond Quek [EMAIL PROTECTED], [EMAIL PROTECTED] References: [EMAIL PROTECTED] This is a question of cross subnet browsing. Read the BROWSING.txt file in docs/textdocs directory in the sources. You need a wins server for cross subnet browsing. I think you have answered your own question, pretty much. Basically, netbios names and DNS names are not always the same. If the clients just have to find the one server, not all the other clients on all the other subnets, just putting the server netbios name and ip in lmhosts on each client might do the trick. Putting the server netbios name on your DNS server also might help. Joel On Mon, Apr 22, 2002 at 04:31:44PM -0700, Desmond Quek wrote: Hi folks, I'm running 2.2.3a on Solaris 7, with bunch of Win2k and XP clients from several subnets. For the clients that are on the same subnet as the server, everything works fine. But for the clients that are on a subnet different from the server, users are getting The network path was not found error when doing: Start-Run...-\\storage\depot or double-clicking on the storage icon in My Network Places Users ARE able to get to the share with no errors, however, if they use IP or fully qualified domain name (\\storage.jni.com\depot) of the server instead. What am I missing here? Here's my smb.conf file: [global] workgroup = Software server string = Samba %v netbios name = Storage lock dir = /var/samba/locks log file = /usr/local/admin/logs/samba/smbd-%v-%h log level = 2 load printers = no max log size = 5000 security = user encrypt passwords = yes username map = /usr/local/admin/samba-%v/lib/software/users.map smb passwd file = /usr/local/admin/samba-%v/lib/software/smbpasswd socket options = TCP_NODELAY dns proxy = no max disk size = 3 deadtime = 15 utmp = yes wins server = 10.137.1.244 domain master = yes local master = yes preferred master = yes os level = yes [depot] comment = Storage for Software group path = /home/depot browseable = yes writable = yes case sensitive = yes force create mode = 0664 force directory mode = 0775 force group = +software valid users = +software public = no printable = no Any help will be appreciated! Regards, Desmond -- JNI Corporation - ASIC Development 45365 Northport Loop West. Fremont, CA 94538-6417 Tel: (510) 360-4751 Fax: (510) 252-0123 -- 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] The Network path was not found - Please help
Does using lmhosts solve the problem? If so, you should be able to solve the problem with DNS. BTW, we (I) may be confounding ourselves (myself) with terminology. Cross net browsing is not quite the same thing as allowing clients to find your server on a different subnet (I think). The clients aren't really browsing in that case, just being pointed to a particular machine. Joel On Tue, Apr 23, 2002 at 09:18:36AM -0700, Desmond Quek wrote: Hi Joel, Thanks for your tip! Unless I have to, I'd rather prefer not to use lmhosts. I actually had wins server and some other global parameters recommended in BROWSING.txt defined in smb.conf. But I'm still having this cross subnet browsing issue. Not sure what am I missing... -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Time Outs on Samba Server
Hi Tony, Doesn't sound like SAMBA if all you have to do to fix it is hit the enter key on your server. Sounds more like some sort of power save mode, either h/w or in Linux- I'm not familiar with RedHat, but you might want to check your pc bios settings to see if there is some default power save mode that it goes into if there is no keyboard activity within a certain period of time... Don -Original Message- From: Neves, Tony [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 11:15 AM To: '[EMAIL PROTECTED]' Subject: [Samba] Time Outs on Samba Server To Whom this May Concern: I have installed samba on my RedHat 7.2 linux server. It works fine for a period but then it times out loosing the connection and locks out the server preventing further connection between the client and the server. To correct the problem I have to walk up to the server and hit the enter key. This frees the lockup and then I have to re-establish the connection closing down the client application and logging back in. Can you please help me! P.S. Can you email back to this address: [EMAIL PROTECTED] Thanks, Tony Neves -- 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] Samba+Ldap - trying to change password
Thanks for the idea, but my passwords dont include any spaces. So unfortunately, that was not the problem. If this helps at all, I am running FreeBSD 4.4. Any other idea would be greatly appreciated. Thanks in advance. On Mon, Apr 22, 2002 at 01:18:02PM -0700, George Farris said: Does your password contain a space character? I had to modify smbldap-passwd.pl to accept passwords that contained a space character other wise I got that message. The line in smbldap-passwd.pl is: $ret = system $ldappasswd $dn -s $pass /dev/null; replace it with: $ret = system $ldappasswd $dn -s \$pass\ /dev/null; On Mon, 2002-04-22 at 12:07, Thomas Klettke wrote: I have been following the howto for samba and ldap from the idealx.org website, but im having trouble changing the password. Unfortunately, I dont know perl good enough to debug this myself. When I run smbldap-passwd.pl testuser, i get the following output. root@sideswipe% smbldap-passwd.pl testuser Changing password for testuser New password : Retype new password : Change password of an LDAP user . . . Can't return outside a subroutine at /usr/local/sbin/smbldap-passwd.pl line 170, STDIN chunk 2. -- Peter Erickson Peter, I've tried to create the same error message, got it when I entered a blank password. Is that what you did? Another place to check: Did you modify /usr/local/sbin/smbldap_conf.pm to match your settings? I know, it sounds trivial, but these are the first things to look at before attempting any further troubleshooting. Thomas Klettke [EMAIL PROTECTED] Network Administrator Aesbus Knowledge Solutions Houston, TX 77069 The instructions said to use Windows 98 or better, so I installed RedHat. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- == George Farris Computer Support Cowichan [EMAIL PROTECTED]Malaspina University-College A conclusion is simply the place where you got tired of thinking. --- Electronic Frontier Foundation http://www.eff.org --- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Peter Erickson [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Time Outs on Samba Server
Yes. I know that there are settings in most newer BIOS's that will allow you to put your network card to sleep even. Some boxes come with this enabled by default!! This will appear as though everyone is locked out when the nic card is actually asleep. -Josh - Original Message - From: Neves, Tony [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 23, 2002 11:15 AM Subject: [Samba] Time Outs on Samba Server To Whom this May Concern: I have installed samba on my RedHat 7.2 linux server. It works fine for a period but then it times out loosing the connection and locks out the server preventing further connection between the client and the server. To correct the problem I have to walk up to the server and hit the enter key. This frees the lockup and then I have to re-establish the connection closing down the client application and logging back in. Can you please help me! P.S. Can you email back to this address: [EMAIL PROTECTED] Thanks, Tony Neves -- 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] WINS and cross-subnet
hello all, samba 2.2.1a on redhat linux 7.2 intel questions about WINS: i am on a campus with preexisting WINS servers, and so i should like to utilize them as their addresses are supplied to DHCP clients. when i tell nmbd about this WINS server the log shows nmbd trying to contact it but there is no response. using telnet i can only get a connection to these wins servers on port 139. shouldnt 137 be open? so my nmbd is constantly trying to contact the server and gets no response. can someone help me understand the full story here? errors are like: [2002/04/23 12:59:25, 4] nmbd/nmbd_packets.c:retransmit_or_expire_response_records(1664) retransmit_or_expire_response_records: timeout for packet id 3252 to IP 192.168.2.138 on subnet UNICAST_SUBNET [2002/04/23 12:59:25, 2] nmbd/nmbd_nameregister.c:register_name_timeout_response(200) register_name_timeout_response: WINS server at address 192.168.2.138 is not responding. [2002/04/23 12:59:26, 4] nmbd/nmbd_packets.c:retransmit_or_expire_response_records(1664) retransmit_or_expire_response_records: timeout for packet id 3254 to IP 192.168.2.138 on subnet UNICAST_SUBNET [2002/04/23 12:59:26, 0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(259) become_domain_master_query_fail: Error 0 returned when querying WINS server for name 20301b. i dont think there is a real problem with the WINS server, since windows clients are able to browse across subnet boundaires... more detail: my issue is this- i have machines with static ips in address range say 192.168.91.x and dhcp clients on the same segment get ips of 192.168.92.x i have no control of the dhcp server or wins server. i would like to use samba services on the .91.x machines from .92.x machines, and have found one configuration with which the .92.x machines may 'find' a samba server on .91.x but not by 'browsing'. that is by telling a .91.x samba server to be domain master, preferred master, os level 65, local master. then windows 'find .. computer' can find it and things work, but it does not appear in the 'neighborhood' also, it would seem a bad thing to have nmbd constantly sending out these purposless packets... any info, pointers, tips appreciated. thanks... ;) -n -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Configure failure: solaris 8 --with-ldapsam
Hi, ive been working on this for a while now. Samba-2.2.2, samba-2.2.3a both do the same thing, fail with configure --with-ldapsam on solaris 8. Ive got openldap 2.0.18 compiled from source and installed in /usr/local on my solaris system. The libs were installed into /usr/local also. My exact configure is: ./configure --prefix=/usr/local/pkg/samba --with-acl-support --with-profile --with-ldapsam Ive eliminated all the other config options, so im sure this error is from the --with-ldapsam Ive seen refrence to this on a couple messages, but no resolution. Thanks in advance! -abraxxus -([EMAIL PROTECTED]) Here is a tail of the config.log: configure:12442: checking whether to build winbind configure:12525: gcc -o conftest -O -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lldap -llber -lresolv -lsec -lgen -lsocket -lnsl -ldl 15 configure: failed program was: #line 12521 configure #include confdefs.h #include ./tests/summary.c Here is my full configure: /ldap/samba-2.2.2/source# ./configure --with-ldapsam loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc -O ) works... yes checking whether the C compiler (gcc -O ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... ./install-sh -c checking for mawk... (cached) nawk checking whether gcc and cc understand -c and -o together... (cached) yes checking that the C compiler understands volatile... (cached) yes checking host system type... sparc-sun-solaris2.8 checking target system type... sparc-sun-solaris2.8 checking build system type... sparc-sun-solaris2.8 checking config.cache system type... same enabling large file support checking for inline... (cached) inline checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking whether time.h and sys/time.h may both be included... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for arpa/inet.h... (cached) yes checking for sys/fcntl.h... (cached) yes checking for sys/select.h... (cached) yes checking for fcntl.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/unistd.h... (cached) yes checking for unistd.h... (cached) yes checking for utime.h... (cached) yes checking for grp.h... (cached) yes checking for sys/id.h... (cached) no checking for limits.h... (cached) yes checking for memory.h... (cached) yes checking for net/if.h... (cached) yes checking for compat.h... (cached) no checking for rpc/rpc.h... (cached) yes checking for rpcsvc/nis.h... (cached) yes checking for rpcsvc/yp_prot.h... (cached) yes checking for rpcsvc/ypclnt.h... (cached) yes checking for sys/param.h... (cached) yes checking for ctype.h... (cached) yes checking for sys/wait.h... (cached) yes checking for sys/resource.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/ipc.h... (cached) yes checking for sys/mode.h... (cached) yes checking for sys/mman.h... (cached) yes checking for sys/filio.h... (cached) yes checking for sys/priv.h... (cached) no checking for sys/shm.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/mount.h... (cached) yes checking for sys/vfs.h... (cached) yes checking for sys/fs/s5param.h... (cached) no checking for sys/filsys.h... (cached) no checking for termios.h... (cached) yes checking for termio.h... (cached) yes checking for sys/termio.h... (cached) yes checking for sys/statfs.h... (cached) yes checking for sys/dustat.h... (cached) no checking for sys/statvfs.h... (cached) yes checking for stdarg.h... (cached) yes checking for sys/sockio.h... (cached) yes checking for security/pam_modules.h... (cached) yes checking for security/_pam_macros.h... (cached) no checking for shadow.h... (cached) yes checking for netinet/ip.h... (cached) yes checking for netinet/tcp.h... (cached) yes checking for netinet/in_systm.h... (cached) yes checking for netinet/in_ip.h... (cached) no checking for nss.h... (cached) no checking for nss_common.h... (cached) yes checking for sys/security.h... (cached) no checking for security/pam_appl.h... (cached) yes checking for security/pam_modules.h... (cached) yes checking for stropts.h... (cached) yes checking for poll.h... (cached) yes checking for sys/capability.h... (cached) no checking for syscall.h... (cached) no checking for sys/syscall.h... (cached) yes checking for sys/acl.h... (cached) yes checking for sys/cdefs.h... (cached) no checking for glob.h... (cached) yes checking for utmp.h... (cached) yes checking for utmpx.h... (cached) yes checking for lastlog.h... (cached) yes checking
[Samba] General Question.
I'm a novice system administrator of a RS6000 running AIX 4.3.3. I would like to use samba to create a drive that I can see from Windows 2000 servers and workstations. Does Samba work with Windows 2000? Does Samba include a login name pass through from Windows to Aix? Can I use Samba to access the database running on the Aix box? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba+Ldap - trying to change password
Thanks for all the help with this issue. I just found out what the problem was. Originally, smbldap-passwd.pl was setup to call the following on line 170 $ret = system $ldappasswd $dn -s $pass /dev/null; Looking at the man page, ldappasswd is expecting the user ($dn) to be the last thing of the command so you must change the above line to $ret = system $ldappasswd -s $pass $dn /dev/null; Again, thanks for the help. On Tue, Apr 23, 2002 at 12:14:57PM -0500, Peter Erickson said: Thanks for the idea, but my passwords dont include any spaces. So unfortunately, that was not the problem. If this helps at all, I am running FreeBSD 4.4. Any other idea would be greatly appreciated. Thanks in advance. On Mon, Apr 22, 2002 at 01:18:02PM -0700, George Farris said: Does your password contain a space character? I had to modify smbldap-passwd.pl to accept passwords that contained a space character other wise I got that message. The line in smbldap-passwd.pl is: $ret = system $ldappasswd $dn -s $pass /dev/null; replace it with: $ret = system $ldappasswd $dn -s \$pass\ /dev/null; On Mon, 2002-04-22 at 12:07, Thomas Klettke wrote: I have been following the howto for samba and ldap from the idealx.org website, but im having trouble changing the password. Unfortunately, I dont know perl good enough to debug this myself. When I run smbldap-passwd.pl testuser, i get the following output. root@sideswipe% smbldap-passwd.pl testuser Changing password for testuser New password : Retype new password : Change password of an LDAP user . . . Can't return outside a subroutine at /usr/local/sbin/smbldap-passwd.pl line 170, STDIN chunk 2. -- Peter Erickson Peter, I've tried to create the same error message, got it when I entered a blank password. Is that what you did? Another place to check: Did you modify /usr/local/sbin/smbldap_conf.pm to match your settings? I know, it sounds trivial, but these are the first things to look at before attempting any further troubleshooting. Thomas Klettke [EMAIL PROTECTED] Network Administrator Aesbus Knowledge Solutions Houston, TX 77069 The instructions said to use Windows 98 or better, so I installed RedHat. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- == George FarrisComputer Support Cowichan [EMAIL PROTECTED]Malaspina University-College A conclusion is simply the place where you got tired of thinking. --- Electronic Frontier Foundation http://www.eff.org --- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Peter Erickson [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Peter Erickson [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] logging a win2k box into a Samba 2.2.2 PDC
Hello, I am having some trouble logging a win2k box into a Samba 2.2.2 PDC. Win98,95, and ME boxes can log in fine. When I try and log in my win2k box I get this error: The account used is a computer account. Use your global user account or local user account to access this server. Maybe someone can shed some light on this strange error?? I do have a user account set up on the samba server along with a machine account which I am told is needed. I can map drives manually off of the server I just cannot log into the PDC normally. Here is what it says in the error log when I try to join the domain with win2k service pack 2 machine... [2002/04/23 12:16:54, 0] smbd/password.c:domain_client_validate(1554) domain_client_validate: could not fetch trust account password for domain WUPDHD [2002/04/23 12:16:54, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(672) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. [2002/04/23 12:16:54, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171) startsmbfilepwent_internal: unable to open file /etc/smbpasswd. Error was Permission denied [2002/04/23 12:16:54, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1459) unable to open passdb database. [2002/04/23 12:16:56, 0] smbd/password.c:domain_client_validate(1554) domain_client_validate: could not fetch trust account password for domain WUPDHD [2002/04/23 12:16:56, 0] rpc_server/srv_netlog_nt.c:get_md4pw(162) get_md4pw: Workstation tazmania$: no account in domain Thanks for any help. If you need more info on this just let me know. thanks!! -Josh -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Can't get swat to accept root and its password
I do not know the answer to this question, but, you can prevent password prompting by starting swat with the -a option. You can just run swat via your browser, you don't need webmin. Read man swat for details. BTW, if you are new to both linux and samba, don't expect quick results. Joel On Tue, Apr 23, 2002 at 10:00:57AM -0800, bupdegraff wrote: Folks, Forgive me if I have subscribed to the wrong samba list. I am new to both Linux and samba so my experience is limited. If I should be sending this to another list, please point me in the right direction. I am trying to use webmin to invoke swat on an experimental Mandrake 8.1 server. I know I have the correct root password but I cannot get swat to let me in. What would inhibit swat from letting me in? -Bill Bill Updegraff Computer Systems Administrator Alaska Bible College PO Box 289 Glennallen, AK 99588 [EMAIL PROTECTED] 907-822-3201 Ext. 228 907-822-5027(FAX) www.cvinternet.net/~wupdegraff -- 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] Problems setting up samba as PDC
When I try to connect a Win2k client to my 2.2.3a samba PDC, I get this error: The following error occurred validating the name 'NAVTEK': The specified domain either does not exist or could not be contacted I have read the Samba-PDC-HOWTO.html and followed the description there but to no avail. I guess this must be a very basic thing to do, but somewhere down the road I have done something wrong. Anyway, this is what my smb.conf looks like: [global] netbios name = server2 workgroup = NAVTEK domain master = Yes domain logons = Yes domain admin = root encrypt passwords = Yes os level = 64 preferred master = Yes local master = Yes security = user logon path = \\server2\profiles\%u logon drive = H: logon home = \\server2\%u logon script = synctime.bat add user script = /usr/sbin/useradd -d /dev/null -n -g navtek -s /bin/false %m$ force directory mode = 0777 force create mode = 0777 log file = /var/log/samba/smb.%m character set = ISO8859-1 time server = yes [netlogon] path = /home/netlogon writeable = no write list = root [profiles] path = /home/profiles writeable = yes create mask = 0600 directory mask = 0700 [homes] comment = Home Directories read only = No create mask = 0750 browseable = No public = Yes writable = Yes [SHARE] path = /home/SHARE writable = yes guest ok = Yes comment = Navtek Disk read only = No force group = navtek invalid users = ftd -- Johnny Ljunggren, Priv: Bærefjellvn 15, 3160 STOKKE Tlf: 918 50 411, ICQ: 50630605 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba PDC Concurrent Logins
Hi Martin, Can't give you a complete answer, but can point you to where to look... You have two choices that I can think of: 1) Don't use roaming profiles, and each computer will have its own profile, 2) Make the Roaming Profile mandatory - this will cause it to not save any changes made after logging in- it will just d/l the profile each time. Here's a fairly good explanation: http://networking.earthweb.com/netos/article/0,,12083_625291,00.html There may be other options, but none I can think off of the top of my head. Simon - Original Message - From: Martin Rode [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 23, 2002 7:18 AM Subject: [Samba] Samba PDC Concurrent Logins Hello Samba Developers, we have a little Samba setup here with about 8 clients (W2K, SP2) and Samba (samba-2.2.3a) installed on a Linux System (Linux version 2.4.18-pre3-ac1). We have PDC enbabled, all users are authenticated by Samba via smbpasswd. Profiles are kept in /home/profiles/samba/username/. Now the problem: A user eddie logs on one W2K. Profiles gets copied. Now eddie logs on to another W2K. Profiles gets copied again. eddie logs out of the second W2K, pofiles gets copied back. eddie logs out of the first W2K. Again, profile gets copied back. Now eddie wants to log on again in a W2K. W2K says it cannot open the profile and logs on eddie with a default profile. 1) People here are now very careful not to login twice on two maschines with the same login. But this is not what we want. Is there any solution to this problem, or should I provide more information on our setup? 2) I've noticed a problem when the W2K client does not log out the user. Then smbd sits there locking /home/profiles/samba/username/NTUSER.DAT. Next time the user tries to login, W2K cannot open NTUSER.DAT because it is locked by the stale smbd. I kill the smbd manually and then the user can login. I'm willing to provide as much information as necessary to get this problem solved / fixed and I much appreciate any help / hints and advise. With regards, ;Martin P.S.: I'm no list subscriber, so please reply also privately -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba PDC windows XP
On Tue, Apr 23, 2002 at 04:49:05PM +0200, Paolo Federici wrote: It's all as you write me but dont' work... I had changed the line encrypt passwords = true in encrypt passwords = yes but don't change anything Did you turn off signorseal in the registry? -- David W. Chapman Jr. [EMAIL PROTECTED] Raintree Network Services, Inc. www.inethouston.net [EMAIL PROTECTED] FreeBSD Committer www.FreeBSD.org -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbfs directory listing problem
On Tue, 23 Apr 2002, Hanser, Kevin wrote: I have been searching newsgroups and whatnot for over an hour trying to find out a few things: first, who maintains smbfs now..?? I do. The correct place to look for maintainer of a part of the linux kernel is the MAINTAINERS file in the kernel source (usually also installed by kernel-docs type packages). Google would have told you that as well (smbfs maintainer), except that Debian for reasons of unknown confusion have a package also named smbfs. second, what can I do about this directory listing problem? is this a known bug, and is there a fix? It's a previously reported problem (actually I think there have been more than one bug with this effect). But it's not know what is causing this and only some people are able to trigger it. Here's a capture of some of the commands and what they're returning: [root@blackpudding cp_live]# ls -l | wc -l 1244 [root@blackpudding cp_live]# ls -l | wc -l 385 [root@blackpudding cp_live]# ls -l | wc -l 385 [root@blackpudding cp_live]# ls -l | wc -l 385 [root@blackpudding cp_live]# ls -l | wc -l 385 Are there any messages from the kernel after the first or second listings? (dmesg, look for smb* stuff). If not, could you take a tcpdump and send me/make it available for download. (tcpdump -w filename -s 1600 port 139) Btw, you haven't mentioned the samba and kernel versions you use. /Urban -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] W2K + PAM + SMBd != fun
I have a weird variant of the common The account is not authorized to log in from this station problem. I have a perfectly functional samba setup using a Win2K Adv Svr as it's password server. However, I am interested in playing with a mysql password server using the pam-mysql module. The problem seems to be that once I turn off encrypted passwords, I get that not authorized box. But if I turn it on, I get a perpetual username/password dialog box. I can only assume that this is because the passwords are being hashed by my client before being sent to samba/pam to test. Therefore, the only way this would work would be to set pam to use cleartext and somehow manage to get the NT hashed password into mysql? So, before I give up, have I got that about right? Or am I missing something that could fix this problem? John Straiton [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] random Win2k unable to log in.
Running: SAMBA 2.2.3 on RedHat Linux 7.2 with 2.4.18-rc4 kernel. SAMBA was running great for over a year for our company up until about 2 weeks ago, then random machines (all win2k) were unable to log in to the domain. For a while we thought it was user based but now it seems to follow the machine rather than the username. We have roaming profiles setup and SAMBA as our PDC. I've tried to find what's causing the machine to have problems but there seems to be no log when they try to log in. My log settings are: log level = 2 log file = /var/log/samba/%m.log max log size = 5000 The real confusion is I can log this username on to other machines and it work, or I can unplug his network card, log him in using the cached version on his machine, then plug in the network cable again and now he is able to access all of his shares and printers. Printers give an error message saying unable to print, but the job still arrives at the printer. We've tried removing and readding his smb user and machine, but that doesn't seem to work either. Any suggestions or help? This is a big problem for me as one of the machines that is unable to login is our company owner, and is threatening to for a win2k Domain on us if it doesn't get fixed by the end of the week. Thanks! Bruce Carpenter System Administrator BulletinWireless Message Systems -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Migrating Win2kPro User Profiles
I'm about to launch a RH 7.2 samba 2.2.3a PDC, with a network of win98/me/2k machines. I've read the Steve Litt book, and hit all the usual sites, but I can't find any info on how to migrate user profiles without logging on to every machine and copying everything over to the new domain\user. Any clue? Thanks, Brad Christian System Administrator MillerParker, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] The Network path was not found - Please help
Yes, lmhosts helps! Thanks, Desmond Original Message Subject: Re: [Samba] The Network path was not found - Please help Date: Tue, 23 Apr 2002 12:41:03 -0400 From: Joel Hammer [EMAIL PROTECTED] To: Desmond Quek [EMAIL PROTECTED], [EMAIL PROTECTED] References: [EMAIL PROTECTED] Does using lmhosts solve the problem? If so, you should be able to solve the problem with DNS. BTW, we (I) may be confounding ourselves (myself) with terminology. Cross net browsing is not quite the same thing as allowing clients to find your server on a different subnet (I think). The clients aren't really browsing in that case, just being pointed to a particular machine. Joel On Tue, Apr 23, 2002 at 09:18:36AM -0700, Desmond Quek wrote: Hi Joel, Thanks for your tip! Unless I have to, I'd rather prefer not to use lmhosts. I actually had wins server and some other global parameters recommended in BROWSING.txt defined in smb.conf. But I'm still having this cross subnet browsing issue. Not sure what am I missing... -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Internet goes down. Samba dies
Had a client's internet connection go down. No one could log into Samba 2.2.3a running on top of RH 7.2 I have following hosts lines in smb.conf: hosts allow = 192.168.1. katyfax nick ap kh vp bg katy john-nt john-98 hosts deny = all In /etc/hosts, I define: katyfax, nick, ap, kh, vp, bg, katy, john-nt, john-98 Ideas anybody? TIA -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] user list
G'day, I have a samba server acting as an nt pdc. My windows machines login tp the server with no problem. However if I create a folder on one of the windows clients and wish to share it a list is not returned from the server and I get a server not available error. However I can use the server for files and have been able to logon so seeing it is not a problem. Can someone point me to the documents I have missed please, or can samba give a client a user list?? Thanks ashley -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] After some print jobs, samba server doesn´t accept conections.
I have RH 7.2, with Samba 2.2.1a, and LPRng printing system. I have two printers, HP DeskJet 1220C and HP LaserJet 5. When a user send many jobs to the printer after a short period of time the server sends a message that the server is not accesible or is not connected to the network, but any other user can do it, again, after some jobs sent to the printer the server doesn´t accept any connection from that client. I read the FAQ of LPRng, and it says that you must change the number of ports in your lpd.conf file, but it has the correct number of ports. ==obtained from www.lprng.org = SOLUTION: It appears that most RFC1179 implementations do not check for the exact port range 721-731, but only that the connection originates from a reserved port, i.e. - in the range 1-1023. You can extend the range of ports used by LPRng by changing the originate_port=721 731 value in the defaults (LPRng/src/common/defaults.c) file or in the lpd.conf file. I recommend the following: originate_port=512 1022 --- I have this numbers. What could be my problem?? regards. Ing. Claudio Hernández. Sistemas OPM Tel. 83-54-72-60 Ext. 259 Skytel Tel. 83190779 Pin: 5996543 e-mail: [EMAIL PROTECTED] La información contenida o adjunta a este mensaje es clasificada como No-Pública, de carácter privado y confidencial, es propiedad de Proeza, sus afiliados y/o subsidiarias que en conjunto denominaremos Proeza y no puede ser reproducida, revelada o transmitida a terceros o ser utilizada para propósitos no definidos dentro de los términos comercialmente aceptables por el receptor del mensaje, sus colaboradores o asociados sin el consentimiento previo y por escrito por parte de Proeza. Estas restricciones son adicionales a cualquier acuerdo paralelo que se hubiese establecido entre las partes en términos de acuerdos, contratos o convenios de Confidencialidad o similares entre Proeza y el receptor de este mensaje. The information contained in or attached to this message, to the extent it is non-public, is the confidential, proprietary information of Proeza.,its affiliates and/or subsidiaries (collectively, Proeza) and may not be reproduced, disclosed to any third party or used by the recipient and/or the recipient's employer (hereinafter recipient), for other than the intended purpose for which it was provided to the recipient, without the prior written approval of Proeza. These restrictions are in addition to any restrictions that may apply pursuant to the terms of any Confidentiality or Non-Disclosure Agreement(s) between Proeza and the recipient -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Can't get samba 2.2.3a to compile with ACL support (with logs)
On Tue, Apr 23, 2002 at 12:02:44PM -0500, Chris Tooley wrote: I did make the switch in configure from -lacl -lattr and faired no better results. I'm using XFS version 1.1 from the 2.4.9-31SGI_XFSsmp kernel. checking if large file support can be enabled... yes checking whether to support ACLs... checking for acl_get_file in -lattr... no checking for ACL support... no Your configure changes are incorrect - they're looking in the wrong library for acl_get_file (which is in libacl, not libattr), as I said earlier you need to link with both libraries. It has been pointed out that we can do a better job when building libacl so that it knows it depends on libattr (in fact this was done at one point, but was accidentally dropped from the Makefile). If you build and install the acl code from XFS CVS (have a look though cmd/acl/doc/INSTALL), you should find that Samba gets built correctly with no changes at all now. cheers. -- Nathan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: [Samba] After some print jobs, samba server doesn´t accept conections.
Are the clients linux/unix clients or windows clients? If they are windows clients, I have no idea. But, if they are linux/unix clients: This sounds like an lprng problem. I forget the cure. Try sending numerous print jobs from the samba server. If the same problem occurs, check out the lprng documentation. Here is man lpd.conf from my redhat 7.1 box. originate_port (default: 721 731) A range of port numbers to originate requests from. When sending service requests, the software will try to open and bind to these ports to originate a request to a server. If no port is given, or all of the requested ports are unavailable or cannot be bound to, then a normal use port is requested. Note that on UNIX systems, if a port in the range 0-1023 is requested the EUID of the process must be root for the request to be granted. Note that RFC1179 specifies that requests must originate from ports in the range 721-731. This says that only root can use the ports outside of 721-731. Joel On Tue, Apr 23, 2002 at 05:27:14PM -0500, Claudio Hernandez wrote: I have RH 7.2, with Samba 2.2.1a, and LPRng printing system. I have two printers, HP DeskJet 1220C and HP LaserJet 5. When a user send many jobs to the printer after a short period of time the server sends a message that the server is not accesible or is not connected to the network, but any other user can do it, again, after some jobs sent to the printer the server doesn´t accept any connection from that client. I read the FAQ of LPRng, and it says that you must change the number of ports in your lpd.conf file, but it has the correct number of ports. ==obtained from www.lprng.org = SOLUTION: It appears that most RFC1179 implementations do not check for the exact port range 721-731, but only that the connection originates from a reserved port, i.e. - in the range 1-1023. You can extend the range of ports used by LPRng by changing the originate_port=721 731 value in the defaults (LPRng/src/common/defaults.c) file or in the lpd.conf file. I recommend the following: originate_port=512 1022 --- I have this numbers. What could be my problem?? regards. Ing. Claudio Hernández. Sistemas OPM Tel. 83-54-72-60 Ext. 259 Skytel Tel. 83190779 Pin: 5996543 e-mail: [EMAIL PROTECTED] La información contenida o adjunta a este mensaje es clasificada como No-Pública, de carácter privado y confidencial, es propiedad de Proeza, sus afiliados y/o subsidiarias que en conjunto denominaremos Proeza y no puede ser reproducida, revelada o transmitida a terceros o ser utilizada para propósitos no definidos dentro de los términos comercialmente aceptables por el receptor del mensaje, sus colaboradores o asociados sin el consentimiento previo y por escrito por parte de Proeza. Estas restricciones son adicionales a cualquier acuerdo paralelo que se hubiese establecido entre las partes en términos de acuerdos, contratos o convenios de Confidencialidad o similares entre Proeza y el receptor de este mensaje. The information contained in or attached to this message, to the extent it is non-public, is the confidential, proprietary information of Proeza.,its affiliates and/or subsidiaries (collectively, Proeza) and may not be reproduced, disclosed to any third party or used by the recipient and/or the recipient's employer (hereinafter recipient), for other than the intended purpose for which it was provided to the recipient, without the prior written approval of Proeza. These restrictions are in addition to any restrictions that may apply pursuant to the terms of any Confidentiality or Non-Disclosure Agreement(s) between Proeza and the recipient -- 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] Re: Access and Corrupt DB
On Mon, Apr 22, 2002 at 02:02:05PM -0400, William Jojo wrote: It would be from [homes] h:\db#.mdb where # is the attempt number that we did at that time...are you checking the 222 and 223a versions of the logs? Yes, I'm looking at both these logs. The only difference I can see is that in the 2.2.2 log the open for My Documents\db7.mdb succeeds because the file is there, and in the 2.2.3a log it fails as the file is not. Can you completely wipe the profile for this user and just try it (Access) against a Samba 2.2.4pre server that isn't serving profiles as well on a mapped drive that is only serving the shared access db files. That should simplify this log considerably and enable me to find out what the problem is. Can you give me a telephone number and timezone so I can call you about this - it's my last showstopper before 2.2.4 Thanks, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: [Samba] Re: [Samba] After some print jobs, samba server doesn´t accept conections.
There may be a limit on how many jobs a windows client can sent at one time, too. I am not quite sure of what you are seeing on your windows clients. Are all the clients locked out from using the printing service, not just the client sending the large number of jobs? I thought your original post said only the client sending the large number of jobs was locked out. Are only printing connections being refused? If all the clients are having problems if only one client is sending jobs, then this really sounds like an lprng problem or a samba problem. max mux might be of interest. max mux (G) This option controls the maximum number of outstanding simultaneous SMB operations that Samba tells the client it will allow. You should never need to set this parameter. Default: max mux = 50 When faced by this sort of odd problem, there are a number of places to look for info: 1. The samba log. 2. The log for your printer. 3. /var/log/messages 4. smbstatus 5. lpq 6. tcpdump (last, desperate hope.) Joel On Tue, Apr 23, 2002 at 06:09:40PM -0500, Claudio Hernandez wrote: I have been noticed that the printers in all the clients (windows) after some printing jobs show a message saying User intervention is requiered... and then there are not avaible for any other user. It backs to normality when I restart the SMB service. -Mensaje original- De: Joel Hammer [mailto:[EMAIL PROTECTED]] Enviado el: Martes, 23 de Abril de 2002 04:50 p.m. Para: Claudio Hernandez; [EMAIL PROTECTED] Asunto: [Samba] Re: [Samba] After some print jobs, samba server doesn´t accept conections. Are the clients linux/unix clients or windows clients? If they are windows clients, I have no idea. But, if they are linux/unix clients: This sounds like an lprng problem. I forget the cure. Try sending numerous print jobs from the samba server. If the same problem occurs, check out the lprng documentation. Here is man lpd.conf from my redhat 7.1 box. originate_port (default: 721 731) A range of port numbers to originate requests from. When sending service requests, the software will try to open and bind to these ports to originate a request to a server. If no port is given, or all of the requested ports are unavailable or cannot be bound to, then a normal use port is requested. Note that on UNIX systems, if a port in the range 0-1023 is requested the EUID of the process must be root for the request to be granted. Note that RFC1179 specifies that requests must originate from ports in the range 721-731. This says that only root can use the ports outside of 721-731. Joel On Tue, Apr 23, 2002 at 05:27:14PM -0500, Claudio Hernandez wrote: I have RH 7.2, with Samba 2.2.1a, and LPRng printing system. I have two printers, HP DeskJet 1220C and HP LaserJet 5. When a user send many jobs to the printer after a short period of time the server sends a message that the server is not accesible or is not connected to the network, but any other user can do it, again, after some jobs sent to the printer the server doesn´t accept any connection from that client. I read the FAQ of LPRng, and it says that you must change the number of ports in your lpd.conf file, but it has the correct number of ports. ==obtained from www.lprng.org = SOLUTION: It appears that most RFC1179 implementations do not check for the exact port range 721-731, but only that the connection originates from a reserved port, i.e. - in the range 1-1023. You can extend the range of ports used by LPRng by changing the originate_port=721 731 value in the defaults (LPRng/src/common/defaults.c) file or in the lpd.conf file. I recommend the following: originate_port=512 1022 --- I have this numbers. What could be my problem?? regards. Ing. Claudio Hernández. Sistemas OPM Tel. 83-54-72-60 Ext. 259 Skytel Tel. 83190779 Pin: 5996543 e-mail: [EMAIL PROTECTED] La información contenida o adjunta a este mensaje es clasificada como No-Pública, de carácter privado y confidencial, es propiedad de Proeza, sus afiliados y/o subsidiarias que en conjunto denominaremos Proeza y no puede ser reproducida, revelada o transmitida a terceros o ser utilizada para propósitos no definidos dentro de los términos comercialmente aceptables por el receptor del mensaje, sus colaboradores o asociados sin el consentimiento previo y por escrito por parte de Proeza. Estas restricciones son adicionales a cualquier acuerdo paralelo que se hubiese establecido entre las partes en términos de acuerdos, contratos o convenios de Confidencialidad o similares entre Proeza y el receptor de este mensaje. The information contained in or attached to this message, to the extent it is non-public, is the confidential, proprietary
[Samba] (no subject)
Dear Friend, This letter may come to you as a surprise due to the fact that we have not yet met. The message could be strange but reel if you pay some attention to it. I could have notified you about it at least for the sake of your integrity. Please accept my sincere apologies. In bringing this message of goodwill to you, I have to say that I have no intentions of causing you any pains. I am Mr Bram Khumalo,son of the late rebel leader Maubane Khumalo of Angola who was killed on the 22nd of febuary 2002 . I managed to get your contact details through The World Business Journal, a journal of the Johannesburg Chamber of Commerce in South Africa in the time I was desperately looking for a trustworthy person to assist me in this confidential business. my late father, Maubane Khumalo was able to deposit a large sum of money in differnt banks in europe My father is presently death and the movement of his family members (including me) is restricted. We are forbidden to either travel abroad or out of our localities. Presently, the US$8,500,000.00 EIGHT, MILLION, FIVE HUNDRED DOLLARS my father transfered to Netherlands is safe and is in a security firm. Before you can get access to it i have to give you the password I am therefore soliciting your help to have this money transfered into your account. before my government get wind of this fund .You know my father was a rebel leader in Angola before his death My reason for doing this is because it will be difficult for the Angolan government to trace my father's money to an individual's account, especially when such an individual has no relationship ,I decided to keep that money for my family use. At present the money is kept in a Security Company in nertherland. I am currently and temporarily living in Angola with my husband my brother has a refugee status, Moreover the political climate in Angola at the moment being so sensitive and unstable.With this password and information I will send to you, and power of attorney to the security firm, When you are ready i will give you the information needed before you can get access to the fund you will then proceed to Netherlands where the US$8,500,000.00 EIGHT, MILLION, FIVE HUNDRED DOLLARS will be given to you as payment. Alternatively, you can have the fund transferred into any account that suits you. Kindly get back to me through my email address,with all your coatacts addresses and send me your name as appear in your passport,and your Telephone and fax number.waiting to hear from you, God bless you. Yours sincerely, Bram Khumalo. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] (no subject)
Dear Friend, This letter may come to you as a surprise due to the fact that we have not yet met. The message could be strange but reel if you pay some attention to it. I could have notified you about it at least for the sake of your integrity. Please accept my sincere apologies. In bringing this message of goodwill to you, I have to say that I have no intentions of causing you any pains. I am Mr Bram Khumalo,son of the late rebel leader Maubane Khumalo of Angola who was killed on the 22nd of febuary 2002 . I managed to get your contact details through The World Business Journal, a journal of the Johannesburg Chamber of Commerce in South Africa in the time I was desperately looking for a trustworthy person to assist me in this confidential business. my late father, Maubane Khumalo was able to deposit a large sum of money in differnt banks in europe My father is presently death and the movement of his family members (including me) is restricted. We are forbidden to either travel abroad or out of our localities. Presently, the US$8,500,000.00 EIGHT, MILLION, FIVE HUNDRED DOLLARS my father transfered to Netherlands is safe and is in a security firm. Before you can get access to it i have to give you the password I am therefore soliciting your help to have this money transfered into your account. before my government get wind of this fund .You know my father was a rebel leader in Angola before his death My reason for doing this is because it will be difficult for the Angolan government to trace my father's money to an individual's account, especially when such an individual has no relationship ,I decided to keep that money for my family use. At present the money is kept in a Security Company in nertherland. I am currently and temporarily living in Angola with my husband my brother has a refugee status, Moreover the political climate in Angola at the moment being so sensitive and unstable.With this password and information I will send to you, and power of attorney to the security firm, When you are ready i will give you the information needed before you can get access to the fund you will then proceed to Netherlands where the US$8,500,000.00 EIGHT, MILLION, FIVE HUNDRED DOLLARS will be given to you as payment. Alternatively, you can have the fund transferred into any account that suits you. Kindly get back to me through my email address,with all your coatacts addresses and send me your name as appear in your passport,and your Telephone and fax number.waiting to hear from you, God bless you. Yours sincerely, Bram Khumalo. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Non Domain user login
Hi Everyone, I have Samba-2.2.2 running on Solaris 7. I have a couple of users who have small home networks and VPN into the corporate network. It seems to be an unacceptable inconvenience to my users to need to enter their name and password in every time they access a share. It seems that since their home networks operate under different domains than out corporate network, they are prompted for a login at each access point. This also means that they have to enter their login ID in the form: login: /corporate-domain-name/user-id Password: Is there a way to have Samba allow specific non domain users or machines (Win2k) to have a trusted status in accessing UNIX shares? Any advice would be much appreciated! Thanks, Brandon Moro Systems Administration, Unify Corporation [EMAIL PROTECTED] - From meanness first this Portsmouth Yankey rose, And still to meanness all his conduct flows.--Oppression, A poem by an American (Boston, 1765). -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Internet goes down. Samba dies
Here's more information from the error log: [2002/04/23 08:52:10, 0] lib/util_sock.c:get_socket_addr(997) getpeername failed. Error was Transport endpoint is not connected [2002/04/23 08:52:10, 0] lib/util_sock.c:write_socket_data(500) write_socket_data: write failure. Error = Connection reset by peer [2002/04/23 08:52:10, 0] lib/util_sock.c:write_socket(523) write_socket: Error writing 4 bytes to socket 12: ERRNO = Connection reset by peer [2002/04/23 08:52:10, 0] lib/util_sock.c:send_smb(688) Error writing 4 bytes to client. -1. (Connection reset by peer) Any ideas? - Original Message - From: John Schmerold [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 23, 2002 5:01 PM Subject: Internet goes down. Samba dies Had a client's internet connection go down. No one could log into Samba 2.2.3a running on top of RH 7.2 I have following hosts lines in smb.conf: hosts allow = 192.168.1. katyfax nick ap kh vp bg katy john-nt john-98 hosts deny = all In /etc/hosts, I define: katyfax, nick, ap, kh, vp, bg, katy, john-nt, john-98 Ideas anybody? TIA -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ÄúºÃ
Çì×£ÖйúÓãÍø³ÉÁ¢£¡£¡£¡ ÓãÍøÁªÃËλÓÚÖйúɽÎ÷Ê¡£¬¹«Ë¾ÊÇÒ»Ö§ÄêÇá¡¢¸»Óг¯ÆøµÄÉè¼Æˮƽ¾«Õ¿µÄÍøÕ¾Éè¼ÆȺÌ塣רҵ´ÓÊÂÏòÆóÒµ ÌṩInternet/IntranetÍøÕ¾½â¾ö·½°¸.ÊÇרÃÅ´ÓÊÂÓòÃû,ÐéÄâÖ÷»ú,ÍøÒ³Éè¼Æ,LOGOÉè¼Æ, ÆóÒµÐÎÏóCISµÄ²ß»®ÓëʵʩµÄÆóÒµ¡£ Ä¿Ç°ÖйúÓãÍøÒѾ³ÉΪÖøÃû¿Æ¼¼ÆóÒµ ÈñѸÍøÂç http://www.ruixun.net µÄÒ»¼¶´ú ÀíÉÌ£¬½«»áÓÃÓÅÖʵķþÎñÌṩ¸ø¿Í»§ÍêÉƵķþÎñ£¡ »¶Ó·ÃÎÊÎÒÃǵÄÍøÕ¾ רҵÌṩ·þÎñÆ÷Õû»ú×âÓ÷þÎñ£¡£¡£¡£¡ ʹÓü«ÐÇÓʼþȺ·¢£¬ÎÞÐëͨ¹ýÓʼþ·þÎñÆ÷£¬Ö±´ï¶Ô·½ÓÊÏ䣬ËٶȾø¶ÔÒ»Á÷£¡ ÏÂÔØÍøÖ·£ºhttp://love2net.51.net/£¬¸ü¶àÃâ·ÑµÄ³¬¿áÈí¼þµÈÄãÀ´Ï¡¡ INFORMATION This message has been sent using a trial-run version of the TSmtpRelayServer Delphi Component. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba 2.2.2 on Solaris 8
/etc/pam.d/samba is in Linux...not in Solaris. Ghislain, have U got it working i also have the identical problem and stuck there. The DOC on windind gives only instructions for Linux... Konkol, Josh JKonkol@guidemaiTo: 'Ghislain Levesque' l.com [EMAIL PROTECTED], Sent by: [EMAIL PROTECTED] samba-admin@listscc: .samba.org Subject: RE: [Samba] Samba 2.2.2 on Solaris 8 04/20/2002 12:58 AM What configure options did you use ? Did you update your /etc/pam.d/samba file as well ?? Checkout to the winbind.htm doc that comes with the dist. That's how I got it working. HTH Josh Konkol, CNE MCSE Senior Network Analyst GuideOne Insurance Mail Stop AB-1 515-267-2427 [EMAIL PROTECTED] .~. /V\ /( )\ ^^-^^ -Original Message- From: Ghislain Levesque [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 9:53 AM To: [EMAIL PROTECTED] Subject: [Samba] Samba 2.2.2 on Solaris 8 Hi there, I'm trying to setup Samba 2.2.2 on Solaris 8. Once the smb.conf and the /etc/nsswitch.conf file has been modified, I have started Samba winbind daemon. I'm able to run wbinfo -u and get users from the domain but when running getent passwd, it's coming back With unix users only. Is that normal? When trying to map a share drive on my pc, which I'm logon to the domain, it keep asking for user and password, and even if I provide them, it doesn't work... Can someone tell me the exact installation procedure, or what I'm doing wrong. Thanks in advance. P.S.: The smb.con file is attach to this e-mail -- Ghislain Lévesque D.L.G.L. Ltd 850 Michele-Bohec Blainville,QC Canada J7C 5E2 (450) 979-4646 fax: (450) 979-4650 -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] []
Title: ÇöÀç ¿©·¯ºÐÀÌ »ç¿ëÇÏ°í ÀÖ´Â ¿ä±ÝÁ¦µµ°¡ ÈÄºÒ ¿ä±ÝÁ¦µµ ÀÔ´Ï´Ù. ÇöÀç ¿©·¯ºÐÀÌ »ç¿ëÇÏ°í ÀÖ´Â ¿ä±ÝÁ¦µµ°¡ ÈÄºÒ ¿ä±ÝÁ¦µµ ÀÔ´Ï´Ù.±×¸®°í ¿Ü»óÀ¸·Î ¾²±â ¶§¹®¿¡ ¾Æ·¡¿Í °°Àº »ç½ÇÀÌ ¼û¾î ÀÖ½À´Ï´Ù. ¡Ù¡Ù¡Ù¡Ù¡Ù¡Ù¡Ù ù¹ø° ¡Ù¡Ù¡Ù¡Ù¡Ù¡Ù¡Ù 1. ³»°¡ µî·Ï ½ÅûÇÑ ´ë¸®Á¡ »çÀå´ÔÀÌ ³»°¡ ³³ºÎÇÑ ¿ä±ÝÀÇ 7%¸¦ °ü¸®¼ö¼ö·á¶ó´Â ¸í¸ñÀ¸·Î¸Å¿ù °¡Á®°¡°í ÀÖ½À´Ï´Ù.ÇÏÁö¸¸ °í¸¿´Ù´Â ÀüÈ ÇÑÅëµµ ¾ø¾úÀ» °ÍÀÔ´Ï´Ù. 2. Áö±Ýµµ ¿¬Ã¼´Â ÀÌ·ç¾î Áö°í ÀÖ½À´Ï´Ù.¸Å³â ½Å¿ëºÒ·®ÀÚ¸¦ ¾ç»êÇÏ°í ÀÖ´Â ½ÇÁ¤ÀÔ´Ï´Ù.¿¬Ã¼·á¸¦ ¹Þ±âÀ§ÇØ °íÁö¼(DM),TM, ä±Ç°ü¸®ÆÀÀ» ¿î¿µ.¸·´ëÇÑ µ·À» ³¶ºñÇÏ°í ÀÖÁÒ. 3. TV±¤°í,µµ·Î,¿Áž±¤°í,Ã¥ÀÚµî ¹«¼öÈ÷ ¸¹Àº ±¤°íºñ¸¦³»°¡ ³³ºÎÇÑ ¿ä±Ý¿¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù. 4. ¿ä±ÝÀ» ³³ºÎÇ϶ó¸ç ¿À´Â °íÁö¼ Àå´ç ¾à 518¿øÁ¤µµ°¡ ¼ÒºñµË´Ï´Ù.518 X 2800¸¸¸í = ¾à 145¾ïÀÇ µ·ÀÌ ¸Å´Þ °øÁß ºÐÇØ µË´Ï´Ù. À§ÀÇ ÀÌ·¯ÇÑ ºñ¿ëÀÌ ³»°¡ ³³ºÎÇÑ ¿ä±ÝÀÇ 55%¸¦ Â÷ÁöÇÏ°í ÀÖ´Ù´Â »ç½Ç ¾Ë°í °è¼Ì³ª¿ä? ¡Ù¡Ù¡Ù¡Ù¡Ù¡Ù¡Ù µÎ¹ø° ¡Ù¡Ù¡Ù¡Ù¡Ù¡Ù¡Ù ÀÌ·± »ç½ÇÀÌ ³ªÇÏ°í ¹«½¼ »ó°ü Àֳİí¿ä? ¸¸¾à ÀÌ·± °æºñ¸¸ ÇãºñµÇÁö ¾Ê´Â´Ù¸é 10ÃÊ/18¿øÀÌ ¾Æ´Ï¶ó 10ÃÊ/10¿øÀ¸·Î »ç¿ëÇÒ ¼ö ÀÖÀ» °Í ÀÔ´Ï´Ù.¼ÒºñÀÚ ´Üü¿¡¼ ¿ä±ÝÀ» ³»¸®¶ó´Â ÀÌÀ¯µµ ¹Ù·Î ¿©±â¿¡ ÀÖ½À´Ï´Ù.ÀÌ¹Ì ¼±Áø±¹µé¿¡¼´Â 10³âÀüºÎÅÍ ¼±ºÒ¿ä±ÝÁ¦¸¦ ½ÃÇàÇØ 70%~100%ÀÇ Á¡À¯·üÀ» °¡Áö°í ÀÖ½À´Ï´Ù.±×¸®°í ¿ä±Ýµµ ¾ÆÁÖ ½Î°Ô(10ÃÊ/10¿øÁ¤µµ) ¾²°í ÀÖÁÒ.½Ã´ëÀûÀ¸·Î ¼±ºÒ¿ä±ÝÁ¦·Î °¥¼ö¹Û¿¡ ¾ø´Â Àý¸í¿¡ óÇØ ÀÖ½À´Ï´Ù. Çö Èĺҿä±ÝÁ¦¿Í ¼±ºÒ¿ä±ÝÁ¦ÀÇ ºñ±³ = ¡¡ ÈÄºÒ ¿ä±ÝÁ¦ ¼±ºÒ ¿ä±ÝÁ¦ ¿ä ±Ý 10ÃÊ/18¿ø 10ÃÊ/18¿ø ¿¬ ü ºñ À² ¸Å³â 20%(1Á¶¿ø)¾¿ ¿¬Ã¼ ¾øÀ½ ±¤ °í ºñ ³â°£ 1000¾ï Á¤µµ ¾øÀ½ °í °´ ´Ü¼ø ¼ÒºñÀÚ ¼öÀÔÀ» °¡Á®´Ù ÁÖ´Â ¼ÒºñÀÚ ¼ö ¼ö ·á ´ë¸®Á¡ °ü¸®¼ö¼ö·á(7%) ȸ¿øÀå·Á±Ý(35%) ½Ã Àå ¼º ½ÃÀ强ÀÌ ¾ø´Ù. (Æ÷È»óÅÂ) ¹«ÇÑÇÑ ½ÃÀ强 (Ãʱâ½ÃÀå ¼±Á¡) ÇØ Áö À² °í°´ À̵¿ÀÌ ¸¹´Ù.(´ë¸®Á¡°£ °ø¿ë½Ã½ºÅÛ) °í°´À̵¿ ¾øÀ½.(Àü¿ë½Ã½ºÅÛ) ÀÌ ¸ÞÀÏÀº 1ȸ¸¸ ¹ß¼ÛÇÏ´Â ¸ÞÀÏÀÔ´Ï´Ù º°µµÀÇ ¼ö½Å°ÅºÎ¸¦ ÇÏÁö ¾ÊÀ¸¼Åµµ µË´Ï´Ù. ¿øÄ¡¾Ê´Â ¸ÞÀÏÀ» ¹ÞÀ¸¼Ì´Ù¸é Á¤¸»·Î Á˼ÛÇÕ´Ï´Ù.±ÍÇÏÀÇ ¸ÞÀÏÁÖ¼Ò´Â À¥¼ÇÎÁß, ¹«ÀÛÀ§·Î ÃßÃâÇÑ°ÍÀ̸ç E-Mail ÁÖ¼Ò ¿Ü¿¡, ´Ù¸¥ Á¤º¸´Â °®°í ÀÖÁö ¾Ê½À´Ï´Ù.Á¤ÅëºÎ ±Ç°í»çÇ׿¡ ÀÇ°Å Á¦¸ñ¿¡ [±¤°í]¶ó°í Ç¥±âÇÑ ¸ÞÀÏÀÔ´Ï´Ù. ¿øÄ¡ ¾ÊÀ¸¸é ¼ö½Å°ÅºÎ¸¦ ´·¯ÁÖ¼¼¿ä
[Samba] Samba 2.2.2 Codes
Hello I have downloaded samba-2.2.2-hppa1.1-hp-hpux10.20.tar.gz from your website. It contains a precompiled suite of Samba. I wanted to get the source codes of Samba 2.2.2. Where can I get it from ? Regards, Hemant Kumar Choudhary Software Engineer Patni Computer Systems Limited Phone: 6930205/06/09 Extn: 2105 BEGIN:VCARD VERSION:2.1 N:Choudhary;Hemant;Kumar FN:Hemant Kumar Choudhary NICKNAME:hkc ORG:Patni Computer Systems Limited;Calma TITLE:Software Engineer TEL;WORK;VOICE:8291454 Extn 5858 TEL;HOME;VOICE:91 22 7459876 TEL;CELL;VOICE:9820222686 TEL;HOME;FAX:91 22 7459876 ADR;WORK:;;Unit 20, SDF 7, SEEPZ, Andheri (East);Mumbai;Maharashtra;400096;India LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Unit 20, SDF 7, SEEPZ, Andheri (East)=0D=0AMumbai, Maharashtra 400096=0D=0AI= ndia ADR;HOME:;;Flat no 02, Ragamalika Residential Complex, Plot No 15 16, Sector 5, New Panvel;Navi Mumbai;Maharashtra;410206;India LABEL;HOME;ENCODING=QUOTED-PRINTABLE:Flat no 02, Ragamalika Residential Complex, Plot No 15 16, Sector 5, New P= anvel=0D=0ANavi Mumbai, Maharashtra 410206=0D=0AIndia X-WAB-GENDER:2 BDAY:20011227 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20010726T044833Z END:VCARD
ldap problem
Hello! We trying to move to ldap :-) Here are strings from our smb.conf: ldap server = lex.p98.belkam.com ldap suffix = o=Aspec,c=RU ldap admin dn = cn=root,o=Aspec,c=RU But we can't get access to shares. This is what we see in openldap log: Apr 23 10:44:05 lex slapd[25479]: daemon: conn=9 fd=9 connection from IP=127.0.0.1:32948 (IP=0.0.0.0:34049) accepted. Apr 23 10:44:05 lex slapd[25995]: conn=9 op=0 BIND dn=CN=ROOT,O=ASPEC,C=RU method=128 Apr 23 10:44:05 lex slapd[25995]: conn=9 op=0 RESULT tag=97 err=0 text= Apr 23 10:44:05 lex slapd[25994]: conn=9 op=1 SRCH base=o=Aspec,c=RU scope=2 filter=((objectClass=posixAccount)(uid=BELKAM\5CDM)) But my account is dm! Why samba wants to search BELKAM\DM ? And this we have in smbd log: [2002/04/23 10:35:40, 0] passdb/pdb_ldap.c:ldap_connect_system(172) Bind failed: Can't contact LDAP server [2002/04/23 10:35:40, 0] passdb/pdb_ldap.c:ldap_connect_system(172) Bind failed: Can't contact LDAP server
2.2.3a-CVS HPUX 10.20 and source/nsswitch/hp_nss_common.h
Hi, the current 2.2.3x CVS sources don't compile on HPUX 10.20 while 2.2.3b is ok. reason is the change in nsswitch/hp_nss_common.h after 2.2.3b which is still needed for HPUX 10.20. please undo that minor change or just apply the attached patch. thanks, Harald Koenig -- I hope to die ___ _ before I *have* to use Microsoft Word., 0--,|/OOO\ Donald E. Knuth, 02-Oct-2001 in Tuebingen._/ / /OOO\ \ \/OOO\ \ O|// Harald Koenig \/\/\/\/\/\/\/\/\/ science+computing ag// / \\ \ [EMAIL PROTECTED]^ ^ Index: source/nsswitch/hp_nss_common.h === RCS file: /cvsroot/samba/source/nsswitch/hp_nss_common.h,v retrieving revision 1.1.2.3 diff -u -r1.1.2.3 hp_nss_common.h --- source/nsswitch/hp_nss_common.h 22 Mar 2002 00:03:48 - 1.1.2.3 +++ source/nsswitch/hp_nss_common.h 23 Apr 2002 11:06:02 - @@ -23,8 +23,12 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_SYNCH_H #include synch.h +#endif +#ifdef HAVE_PTHREAD_H #include pthread.h +#endif typedef enum { NSS_SUCCESS,
Re: head rpm build fails due to make_printerdef not building
On 22 Apr 2002, Bradley W. Langhorst wrote: maybe its a makefile problem? there is no object file after the build but I didn't see any obvious errors in the compilation step (other than the usual discarding qualifiers stuff) make_printerdef is going away. We need to update the spec file to reflect this. John T is working on it. also --with-pam_smbpass cannot complete compilation with the current HEAD. HmmI'll check cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sam's Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca--
smb_len
hi, after the message_type(byte 0)and message flag (byte 1)fields in the smb header what is placed in bytes2 and3 of the header.as this is made use of incomputing the length of the header. in detail,in the smb.h(ver--2.0.7) header there is a hash define for smb_len,which uses the 3,2and 1st byte to compute length.please can anyone tell me what computation is being carried out there. i am writing a client code and i am not able to proceed because the computation of smb_len returns 0 and no other functions are executed. please do help me out. regards ranjaniDo You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more
Re: Cannot rename dir from win2k with last cvs version
On Tue, Apr 23, 2002 at 02:27:36PM +0200, Andreas Moroder wrote: Hello, I installed the cvs version from last friday. If a user on a win2k workstation tries to rename a directory in a samba share, he gets a error message. He can delete this directory or even create new ones. On a win98 machine there are no problems. The directory has rwxrwxrwx rights and the parent dir too. With a older cvs of samba it works well !! Does anyone know the reason ? Already fixed - it was a temporary problem in the CVS sources, sorry. Jeremy.
Problem with current 2.2.4-pre
Hi, if 2.2.4 is really at horizon, this bug in current CVS should be fixed. [2002/04/23 17:01:13, 0] smbd/open.c:open_file(179) Error doing fstat on open file kuhnert/NTUSER.DAT.tmp (No such file or directory) [2002/04/23 17:01:13, 0] smbd/open.c:open_file(179) Error doing fstat on open file kuhnert/ntuser.dat.LOG.tmp (No such file or directory) cheers, Daniel -Ursprüngliche Nachricht- Von: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 15. April 2002 19:37 An: Beschorner Daniel Cc: '[EMAIL PROTECTED]' Betreff: Re: Problem with current 2.2.4-pre On Thu, 11 Apr 2002, Beschorner Daniel wrote: Hi! Every time a user logs out from the Samba-PDC and the user profile is written to the profile share on the Samba-PDC this error occures on some (5-10) files of the profile in the log. [2002/04/11 09:39:06, 0] smbd/open.c:open_file(179) Error doing fstat on open file schnieders/Recent/Glsynt40.lnk (No such file or directory) Seems as the path would be only relative to the profile share, instead of complete. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sam's Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca--
RE: 2.2.3a-CVS HPUX 10.20 and source/nsswitch/hp_nss_common.h
Andrew, Will need the same to the head branch (SAMBA_3_0, I guess, now), so it will compile on HPUX 10.20 as well... Thanks, Don -Original Message- From: MCCALL,DON (HP-USA,ex1) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 11:31 AM To: 'Harald Koenig'; [EMAIL PROTECTED] Subject: RE: 2.2.3a-CVS HPUX 10.20 and source/nsswitch/hp_nss_common.h Hi Jeremy, Can you apply this change Harald has attached? It looks like another victim of the port of Head winbindd back into the 2.2 branch, at revision 1.1.2.3 of this file... Thanks, Don -Original Message- From: Harald Koenig [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 7:12 AM To: [EMAIL PROTECTED] Cc: Harald Koenig Subject: 2.2.3a-CVS HPUX 10.20 and source/nsswitch/hp_nss_common.h Hi, the current 2.2.3x CVS sources don't compile on HPUX 10.20 while 2.2.3b is ok. reason is the change in nsswitch/hp_nss_common.h after 2.2.3b which is still needed for HPUX 10.20. please undo that minor change or just apply the attached patch. thanks, Harald Koenig -- I hope to die ___ _ before I *have* to use Microsoft Word., 0--,|/OOO\ Donald E. Knuth, 02-Oct-2001 in Tuebingen._/ / /OOO\ \ \/OOO\ \ O|// Harald Koenig \/\/\/\/\/\/\/\/\/ science+computing ag// / \\ \ [EMAIL PROTECTED]^ ^
Re: smb_len
RANJANI NAGARAJAN wrote: hi, after the message_type(byte 0) and message flag (byte 1) fields in the smb header what is placed in bytes 2 and 3 of the header. You are looking at the wrong header. The structure you are looking at is: 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS |LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | / TRAILER (Packet Type Dependent) / | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ which is the NBT Session Service header. If you are going to implement a CIFS client, you will *need* to look at: http://us6.samba.org/samba/docs/ http://ubiqx.org/cifs/rfc-draft/rfc1001.html http://ubiqx.org/cifs/rfc-draft/rfc1002.html http://ubiqx.org/cifs/index.html http://ubiqx.org/cifs/References.html http://www.snia.org/English/Work_Groups/NAS/CIFS/WG_CIFS_Docs.html ...and that's just for starters. Chris -)- -- Christopher R. Hertel -)- University of Minnesota [EMAIL PROTECTED] Networking and Telecommunications Services
Re: Problem with current 2.2.4-pre
On Tue, Apr 23, 2002 at 07:11:41PM +0200, Beschorner Daniel wrote: Hi, if 2.2.4 is really at horizon, this bug in current CVS should be fixed. [2002/04/23 17:01:13, 0] smbd/open.c:open_file(179) Error doing fstat on open file kuhnert/NTUSER.DAT.tmp (No such file or directory) [2002/04/23 17:01:13, 0] smbd/open.c:open_file(179) Error doing fstat on open file kuhnert/ntuser.dat.LOG.tmp (No such file or directory) I just fixed this in SAMBA_2_2 and HEAD cvs. It's actually a spurious error message, not a fatal flaw. Jeremy.
Re: add cast for splint
Hello Andrew, that would be ok. It would be nice if you could commit the changes to the cvs. Bye Andreas -Ursprüngliche Nachricht- Von: Andrew Bartlett [EMAIL PROTECTED] An: Andreas Moroder [EMAIL PROTECTED] Cc: Andrew Bartlett [EMAIL PROTECTED]; [EMAIL PROTECTED] Gesendet: Dienstag, 23. April 2002 05:05 Betreff: Re: add cast for splint Andreas Moroder wrote: Hello Andrew, what about a #ifdef IRIX or similar ? It would have to be #ifdef _SPLINT_ becouse only splint doesn't like this - the rest of the world is fine with it... Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
Re: /etc/fstab entry to allow users to mount samba shares
On Tue, 23 Apr 2002, Lars Heineken wrote: I tried to make an entry in /etc/fstab to enable users to mount a specific samba-share (here: //Heineken/CD-ROM) //Heineken/CD-ROM /mnt/HeinekenCDROM smbfs user,auto,username=x, passwordx0 0 the only way to make this work is that the mount-destination is owned by the user who want's to mount. So lars for example can do the mount if /mnt/HeinekenCDROM is owned by lars. As I don't want a speparate mountpoint for each user, how can I solve this the right way. Just like a CD-ROM mount ? The right way is to throw away smbmount and use smbconnect. The problem you are seeing is that mount reads the fstab but doesn't do anything with the entries and just passes them to smbmount. smbmount then does the mount syscall that mounts smbfs, but it doesn't (want to) understand the options mount has and interprets them differently (eg user). smbconnect would mean that mount does the mount syscall, and also all the user/auto/noexec parsing so it would be identical to all other fs'. smbfs then calls smbconnect to get the connection. The only problem with this is that smbconnect only exists on one of my machines and is not very well tested. There are a few other options that may be seen as less experimental: * automount Use autofs or some other automounter. Judging from the mount options you don't care if a user can access the cd some other user mounted. With autofs the following: /etc/auto.master: /mnt/heineken /etc/auto.heineken --timeout=60 /etc/auto.heineken: cdrom -fstype=smbfs,username=x,password=x ://Heineken/CD-ROM would mount the cdrom when someone tried to access /mnt/heineken/cdrom. A potential problem might be what happens when the cd is ejected on the other end. I know I have never tested that ... * setuid root mount_heineken_cdrom Another way to do this is to make a small setuid root program to do this mount. For safety all options should hardcoded into the program. * modify smbmnt The rule that only the user may mount on dirs he owns is implemented in smbmnt. You have the code, change it. Do note that it is a security risk to let users mount things wherever they want ... /Urban
Re: /etc/fstab entry to allow users to mount samba shares
I'm sorry to tell, but I Had to drop the whole thing. When I mounted the volume as root, a single read-acces onto the mountes smb-share on the client-side locked his machine. The smb-server noticed nothing. The cd-rom is mounted via supermount. All windows-clients read the share without problems. - Suggestions ? Reasons ? A try with nfs showed other problems. With nfs I couldn't mount /mnt/cdrom. This worked after explicit mounting of /dev/cdrom, supermount disabled. I think the kernel prevents sharing of supermounted directories. It seems like there is no way to share a supermounted cd-rom (maybe with autofs ?) to different linux-clients.. :-( On Tue, 23 Apr 2002 22:38:17 +0200 (CEST) Urban Widmark [EMAIL PROTECTED] wrote: On Tue, 23 Apr 2002, Lars Heineken wrote: I tried to make an entry in /etc/fstab to enable users to mount a specific samba-share (here: //Heineken/CD-ROM) //Heineken/CD-ROM /mnt/HeinekenCDROM smbfs user,auto,username=x, passwordx0 0 the only way to make this work is that the mount-destination is owned by the user who want's to mount. So lars for example can do the mount if /mnt/HeinekenCDROM is owned by lars. As I don't want a speparate mountpoint for each user, how can I solve this the right way. Just like a CD-ROM mount ? The right way is to throw away smbmount and use smbconnect. The problem you are seeing is that mount reads the fstab but doesn't do anything with the entries and just passes them to smbmount. smbmount then does the mount syscall that mounts smbfs, but it doesn't (want to) understand the options mount has and interprets them differently (eg user). smbconnect would mean that mount does the mount syscall, and also all the user/auto/noexec parsing so it would be identical to all other fs'. smbfs then calls smbconnect to get the connection. The only problem with this is that smbconnect only exists on one of my machines and is not very well tested. There are a few other options that may be seen as less experimental: * automount Use autofs or some other automounter. Judging from the mount options you don't care if a user can access the cd some other user mounted. With autofs the following: /etc/auto.master: /mnt/heineken /etc/auto.heineken --timeout=60 /etc/auto.heineken: cdrom -fstype=smbfs,username=x,password=x ://Heineken/CD-ROM would mount the cdrom when someone tried to access /mnt/heineken/cdrom. A potential problem might be what happens when the cd is ejected on the other end. I know I have never tested that ... * setuid root mount_heineken_cdrom Another way to do this is to make a small setuid root program to do this mount. For safety all options should hardcoded into the program. * modify smbmnt The rule that only the user may mount on dirs he owns is implemented in smbmnt. You have the code, change it. Do note that it is a security risk to let users mount things wherever they want ... /Urban
patch to fix ...lang/man* problem with rpm compilation
I think this is the wrong way to fix this but I don't know the right way. diff -r1.23 samba2.spec.tmpl 450,453c456,459 %attr(-,root,root) MANDIR_MACRO/man1/* %attr(-,root,root) MANDIR_MACRO/man5/* %attr(-,root,root) MANDIR_MACRO/man7/* %attr(-,root,root) MANDIR_MACRO/man8/* --- %attr(-,root,root) MANDIR_MACRO/lang/man1/* %attr(-,root,root) MANDIR_MACRO/lang/man5/* %attr(-,root,root) MANDIR_MACRO/lang/man7/* %attr(-,root,root) MANDIR_MACRO/lang/man8/*
Re: Access and Corrupt DB
On Mon, Apr 22, 2002 at 02:02:05PM -0400, William Jojo wrote: It would be from [homes] h:\db#.mdb where # is the attempt number that we did at that time...are you checking the 222 and 223a versions of the logs? Yes, I'm looking at both these logs. The only difference I can see is that in the 2.2.2 log the open for My Documents\db7.mdb succeeds because the file is there, and in the 2.2.3a log it fails as the file is not. Can you completely wipe the profile for this user and just try it (Access) against a Samba 2.2.4pre server that isn't serving profiles as well on a mapped drive that is only serving the shared access db files. That should simplify this log considerably and enable me to find out what the problem is. Can you give me a telephone number and timezone so I can call you about this - it's my last showstopper before 2.2.4 Thanks, Jeremy.
[±¤--°í]¾Æ½Ã¾Æ°Å¸ ¸®¾çÀÇ Å©·¹ÀÌÁöÇнÀ¹ý »ùÇÃ¹Þ°í »çÀºÀÜÄ¡µµ Âü¿©Çϱâ....
Title: Untitled Document O º» ¸ÞÀÏÀº Á¤º¸Åë½Å¸Á ÀÌ¿ëÃËÁø ¹× Á¤º¸º¸È£ µî¿¡ °üÇÑ ¹ý·ü Á¦ 50Á¶¿¡ ÀÇ°ÅÇÑ [±¤°í] ¸ÞÀÏÀÔ´Ï´Ù O e-mailÁÖ¼Ò´Â ÀÎÅͳݻ󿡼 ÃëµæÇÏ¿´À¸¸ç, ÁÖ¼Ò¿Ü ¾î¶°ÇÑ °³ÀÎ Á¤º¸µµ °¡Áö°í ÀÖÁö ¾Ê½À´Ï´Ù O ÇÁ·Î±×·¥ ¹®Á¦»ó 2ȸ ÀÌ»ó ¹ß¼Û µÉ¼ö ÀÖ»ç¿À´Ï ¾çÇØ ¹Ù¶ø´Ï´Ù. O ¼ö½Å°ÅºÎ´Â ¹Ýµå½Ã ¸ÇÇÏ´ÜÀÇ ¼ö½Å°ÅºÎ ¹öÆ°À» Ŭ¸¯ ÇϼžßÇÕ´Ï´Ù. O °³ÀÎÀûÀΠȸ½ÅÀ¸·Î ¼ö½Å°ÅºÎ¸¦ ÇϽøé 󸮰¡ ¾ÈµÉ¼ö ÀÖ»ç¿À´Ï ¹Ýµå½Ã ÇÏ´ÜÀÇ ¼ö½Å°ÅºÎ ¹öÆ°À» Ŭ¸¯Çϼ¼¿ä ¼º ¸í À̸ÞÀÏ ¿ìÆí¹øÈ£ - ÁÖ ¼Ò ÀüȹøÈ£ - - À̵¿Åë½Å - - ±ÍÇÏÀÇ¿µ¾î½Ç·Â »ó Áß ÇÏ Copyright 2001 Cypus co., Ltd. All Rights Reserved. º» ¸ÞÀÏÀº Á¤º¸Åë½ÅºÎ ±Ç°í »çÇ׿¡ ÀÇ°Å Á¦¸ñ¿¡ [±¤°í]¶ó Ç¥½ÃµÈ ±¤°í ¸ÞÀÏÀÔ´Ï´Ù. ¼ö½Å°ÅºÎ ¹öÆ°À» Ŭ¸¯ÇÏ½Ã¸é ¼ö½Å°ÅºÎ󸮰¡ ÀÌ·ç¾î Áý´Ï´Ù.
Re: 2.2.3a-CVS HPUX 10.20 and source/nsswitch/hp_nss_common.h
MCCALL,DON (HP-USA,ex1) wrote: Andrew, Will need the same to the head branch (SAMBA_3_0, I guess, now), so it will compile on HPUX 10.20 as well... Thanks, Don To do that, I would need the patch attached, and it CCed to me. Thanks, Andrew Bartlett, -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
possible bug?
Samba 2.2.1a on mandrake 8.1 configuration with swat Shares that are initially createdthrough swat do not in the file system. You have to go in and create themmanually for example with Konqueror. Shouldn't the shares appear within the file when they are created within swat? Any accuracy to this other than my own trials?
joining machine to domain with ldapsam backend
I'm assuming that talk about samba3 belongs here, please let me know if i should take it to samba I'm trying to join a machine to today's head here is the what I get in the log file - how should we assign an RID to a machine account? do I need to add a special script in the add machine script parameter to make this work? how should we assign an RID to a machine account? [2002/04/23 20:32:53, 2] smbd/reply.c:reply_special(77) netbios connect: name1=BITC name2=TESTPC [2002/04/23 20:32:53, 2] smbd/reply.c:reply_special(96) netbios connect: local=bitc remote=testpc [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:53, 2] auth/auth.c:check_ntlm_password(256) check_password: authenticaion for user [root] - [root] - [root] suceeded [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:54, 2] lib/access.c:check_access(309) Allowed connection from (132.177.45.90) [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:54, 2] smbd/server.c:exit_server(498) Closing connections [2002/04/23 20:32:54, 2] lib/access.c:check_access(309) Allowed connection from (132.177.45.90) [2002/04/23 20:32:54, 2] smbd/reply.c:reply_special(77) netbios connect: name1=BITC name2=TESTPC [2002/04/23 20:32:54, 2] smbd/reply.c:reply_special(96) netbios connect: local=bitc remote=testpc [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:55, 2] auth/auth.c:check_ntlm_password(256) check_password: authenticaion for user [root] - [root] - [root] suceeded [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:55, 2] lib/access.c:check_access(309) Allowed connection from (132.177.45.90) [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount))] [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498) Entry found for user: root [2002/04/23 20:32:55, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2102) Returning domain sid for domain LAUELAB - S-1-5-21-952143027-1224863391-451646606 [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_open_connection(206) ldap_open_connection: connection opened [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240) ldap_connect_system: successful connection to the LDAP server [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(252) ldapsam_search_one_user: searching
Printing issue: Win2k + 2.2.3a PDC + ldapsam + HP LaserJet 8000driver
This is a data point more than anything else, since I don't really have time to dig into it. I appologize if this is a known issue, I searched and searched for info on it, but couldn't find anything. My setup is this: - Samba 2.2.3a PDC + ldapsam - HP LaserJet 8000 spool via JetDirect from PDC - Network printer driver install via [print$] - Win2k client machines Normal printing works fine, but attempts to change printing properties (ie, orientation, paper feed, etc) fail to work. The printer configuration dialog also contains warnings to the effect of you do not have permission to save system settings on this computer. The issue does not exist using an NT PDC + spooler + network printer install. The workaround is to circumvent Samba and print directly to lpd: - Install the driver on the client machine as a local printer on a LPT port. - After install, bring up the printer properties dialog and create a new port pointing to the PDC's lpr port. The workaround is acceptable for me, so I didn't dig any deeper. Just a bit of info, - Sam