Hello Samba Team: I don't know if this is a bug but I have compiled the source code for samba-2.2.0-alpha2 on Solaris 7 and cannot make the binaries. After the "./configure" command I try "make" and this is the result: [...cutting..] Compiling smbd/oplock_irix.c Compiling smbd/oplock_linux.c Compiling smbd/notify.c Compiling smbd/notify_hash.c Compiling smbd/notify_kernel.c Linking bin/smbd Undefined first referenced symbol in file inet_aton smbd/password.o ld: fatal: Symbol referencing errors. No output written to bin/smbd collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `bin/smbd' I have instaled GNUautoconf.2.12, GNUautomake.1.4, GNUgcc.2.95.2, GNUmake.3.78.1 The uname -a command shows: SunOS casimiro 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-5_10 The PATH environment is set correctly. In Addition, my idea is not use samba as PDC in this server but I want to install winbind and use the username/password of an existing NT4 pdc server. Is posible to do that in solaris 7? I use winbind with linux Redhat 6.2 and work fine. Hope that help Regards ====Ing. Alejandro GarĂn Telecom Internet __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
On Wed, 28 Feb 2001 09:01:20 Alejandro Garin wrote:> Hello Samba Team: > > I don't know if this is a bug but I have compiled > the source code for samba-2.2.0-alpha2 on Solaris 7 > and cannot make the binaries. > After the "./configure" command I try "make" and this > is the result: > > [...cutting..] > Compiling smbd/oplock_irix.c > Compiling smbd/oplock_linux.c > Compiling smbd/notify.c > Compiling smbd/notify_hash.c > Compiling smbd/notify_kernel.c > Linking bin/smbd > Undefined first referenced > symbol in file > inet_aton smbd/password.o > ld: fatal: Symbol referencing errors. No outputAlready fixed in CVS. Cheers, jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com/ VA Linux Systems gcarter@valinux.com http://www.samba.org/ SAMBA Team jerry@samba.org http://www.plainjoe.org/ jerry@plainjoe.org "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )
Hi, Samba Team: This is my bug report. equipment: samba-2.2.0-20010417.src.rpm Windows Me smb.conf(print setting): print command = ( /usr/bin/abc %U) & problem: sometime %U return UPPER CASE user id, but the user id is lower case Thank you! Al Lin
On Wed, 25 Apr 2001 07:12:14 Al Lin wrote:> Hi, Samba Team: > > This is my bug report. > > equipment: > samba-2.2.0-20010417.src.rpm > Windows Me > > smb.conf(print setting): > print command = ( /usr/bin/abc %U) & > > problem: > sometime %U return UPPER CASE user id, but the user > id is lower caseTry %u instead. Cheers, jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com/ VA Linux Systems gcarter@valinux.com http://www.samba.org/ SAMBA Team jerry@samba.org http://www.plainjoe.org/ jerry@plainjoe.org "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )
About a month ago we upgraded to Samba 2.2.1a, and apparently ever since then we've been getting segfaults on a fairly regular basis - usually one or two a day, sometimes skipping a couple of days. Apparently this doesn't cause any problems on the client end, otherwise we probably would have noticed sooner; the only indication I've received of the errors is the messages in the Samba log. We're getting these errors on both of our main Samba servers. Both are PCs running RedHat 6.2, one is running a linux 2.4.9 kernel, the other is running a linux 2.2.16 kernel. A number of different client machines have been causing the errors over the past month, so I don't think it's anything specific to one client or user. I did check the OS for all of the clients that I could; one client was a Windows NT 4.0, all of the other clients were Win2K. I don't know if this is relevant or not. Here's a sample message from the log file: [2001/09/27 11:36:28, 3] smbd/process.c:process_smb(837) Transaction 89 of length 45 [2001/09/27 11:36:28, 3] smbd/process.c:switch_message(650) switch message SMBclose (pid 17602) [2001/09/27 11:36:28, 3] smbd/sec_ctx.c:set_sec_ctx(317) setting sec ctx (1897, 100) - sec_ctx_stack_ndx = 0 [2001/09/27 11:36:28, 3] smbd/sec_ctx.c:set_sec_ctx(322) 2 user groups: 100 1100 [2001/09/27 11:36:28, 3] smbd/vfs.c:vfs_ChDir(643) vfs_ChDir to /tmp [2001/09/27 11:36:28, 3] smbd/process.c:process_smb(837) Transaction 90 of length 120 [2001/09/27 11:36:28, 3] smbd/process.c:switch_message(650) switch message SMBtrans2 (pid 17602) [2001/09/27 11:36:28, 3] smbd/sec_ctx.c:set_sec_ctx(317) setting sec ctx (1897, 100) - sec_ctx_stack_ndx = 0 [2001/09/27 11:36:28, 3] smbd/sec_ctx.c:set_sec_ctx(322) 2 user groups: 100 1100 [2001/09/27 11:36:28, 3] smbd/vfs.c:vfs_ChDir(643) vfs_ChDir to /home/myoung [2001/09/27 11:36:28, 0] lib/fault.c:fault_report(40) ==============================================================[2001/09/27 11:36:28, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 17602 (2.2.1a) Please read the file BUGS.txt in the distribution [2001/09/27 11:36:28, 0] lib/fault.c:fault_report(43) ==============================================================[2001/09/27 11:36:28, 0] lib/util.c:smb_panic(1101) PANIC: internal error [2001/09/27 11:36:28, 2] smbd/connection.c:count_fn(97) pid 17602 doesn't exist - deleting connections 3 [IPC$] [2001/09/27 11:36:28, 2] smbd/connection.c:count_fn(97) pid 17602 doesn't exist - deleting connections 1 [homedir] [2001/09/27 11:36:28, 2] smbd/connection.c:count_fn(97) pid 17602 doesn't exist - deleting connections 2 [IPC$] I have log files (debug level 3) from two clients that triggered segfaults today; one client's log is around 500kB, the other is around 5MB. If you want me to send all or part of these log files, I can. If there's any other information (testparm output, logs at a higher debug level, etc; I'm still working on getting a core dump) that I can send, or anything else I can do to help track this problem down, please let me know. I'm assuming that since we haven't noticed this problem for a month, we're not in danger of losing any data from the segfaults, but if you can let me know if you think it would be safer to go back to samba 2.0.x until this bug is fixed, I would greatly appreciate it. Josh Kelley System Administrator Johnson Bible College
Hello, this bug occured the first time. I don?t know what the user was doing, when it happened. I guess he was reading email. There is no core-file. We use version 2.2.5. And now the messages in the log-file of the computer "brutzer" (The first since three days.): [2002/10/21 18:22:56, 0] lib/fault.c:fault_report(38) ==============================================================[2002/10/21 18:22:56, 0] lib/fault.c:fault_report(39) INTERNAL ERROR: Signal 11 in pid 28195 (2.2.4) Please read the file BUGS.txt in the distribution [2002/10/21 18:22:56, 0] lib/fault.c:fault_report(41) ==============================================================[2002/10/21 18:22:56, 0] lib/util.c:smb_panic(1092) PANIC: internal error [2002/10/21 18:23:27, 0] smbd/oplock.c:oplock_break(761) oplock_break: receive_smb timed out after 30 seconds. oplock_break failed for file Netscape/Users/brutzer/Mail/Trash (dev = 3009, inode = 1208149, file_id = 2). [2002/10/21 18:23:27, 0] smbd/oplock.c:oplock_break(833) oplock_break: client failure in oplock break in file Netscape/Users/brutzer/Mail/Trash Bye, Arne Roolfs (Novacard GmbH)
Hi - I'm trying to get samba set up as a PDC using automounted home directories, the automount maps being served by NIS. After a bit of hacking I think I've found a bug in the "latest release" (2.2.6) that I downloaded yesterday. It's in ($SAMBA_SRC_DIR)/source/param/loadparm.c and it means that lp_nis_home_map can never return a valid map name under NIS; it would've been fine under NIS+ but let's face it, we're dinosaurs here ;-) Here's the diff: <1252>samba01# diff ($SAMBA_SRC_DIR)/source/param/loadparm.c ../../../fixed/loadparm.c 1361d1360 < Globals.bNISHomeMap = False; 1363c1362 < Globals.bNISHomeMap = True; ---> Globals.bNISHomeMap = False;It would also be useful to (to me, at least) if szNISHomeMapName could be set through "configure" rather than it being hard-wired into the code. We're probably not the only site to have our own name for this map. And finally a quick word of thanks as you wouldn't believe what it means to an aging Unix dinosaur be able to investigate problems with an "NT PDC" by setting debug statements in the code, etc. rather than searching TechNet and praying - goodbye horrible black box aka Microsoft NT server software! ;-) Steve.
Hallo everyone, I successfully installed and compiled samba version 2.2.7a on a sistem running AIX v. 4.3.3. ML 10. I had a problem in order to permit the management of configuration file (smb.conf) by means of swat, to a group (or a groups on AIX) of users. The problem was: if I put '"write permission" on group of file smb.conf, swat permit to edit to many users than the specified group. Why ? Reading the code I saw that swat does not set the supplementary groups before switch to the autenticated user, so all users of all groups of root user can modify the file. In order to permit modification to users of specified group (or groups if AIX extended ACL is enabled), I changed the code of cgi.c in the following way (diff -u format): cgi.c --- cgi.c.org Tue Dec 10 15:58:17 2002 +++ cgi.c Mon Mar 10 16:32:34 2003 @@ -388,8 +388,18 @@ * We have not authenticated as root, * become the user *permanently*. */ - become_user_permanently(pass->pw_uid, pass->pw_gid); - } + + /* + I inserted initgroups call in order to set + the supplementary groups of authenticated user + FC (5/2/3) + */ + if (initgroups(pass->pw_name,pass->pw_gid) != 0) + { + goto err; + } + } + become_user_permanently(pass->pw_uid, pass->pw_gid); /* Save the users name */ C_user = strdup(user); I do not know if the described problem is a general problem. Please note that what I described above is NOT a criticism but is a small (very small) attempt to contribute to swat code. Best regards, Fabio Cecchi
Hallo Developers, i hope you can help me - there is nothing to find in the web. We are using samba 2.2.8a build from Source. The Server is connected to an NT40 PDC via winbind. During the adding of a printer in the W2K Wizzard i get the error "could not add the printer" When i close the printer-properties an reopen again the printer-driver is installed an i can use them. I have deleted all cache files and tried it again - without more success. The same procedure on a single samba server with workgroup security works without problems. Here the message log. There is nothing in the other logs, also not with loglevel 10. Sep 25 23:40:01 intra1 smbd[4535]: [2003/09/25 23:40:01, 0] smbd/service.c:make_connection(381) Sep 25 23:40:01 intra1 smbd[4535]: make_connection: schmieder+operator logged in as admin user (root privileges) Sep 25 23:40:19 intra1 smbd[4535]: [2003/09/25 23:40:19, 0] smbd/service.c:make_connection(381) Sep 25 23:40:19 intra1 smbd[4535]: make_connection: schmieder+operator logged in as admin user (root privileges) Sep 25 23:40:19 intra1 smbd[4535]: [2003/09/25 23:40:19, 0] smbd/service.c:make_connection(381) Sep 25 23:40:19 intra1 smbd[4535]: make_connection: schmieder+operator logged in as admin user (root privileges) Sep 25 23:40:19 intra1 smbd[4535]: [2003/09/25 23:40:19, 0] lib/fault.c:fault_report(38) Sep 25 23:40:19 intra1 smbd[4535]: ==============================================================Sep 25 23:40:19 intra1 smbd[4535]: [2003/09/25 23:40:19, 0] lib/fault.c:fault_report(39) Sep 25 23:40:19 intra1 smbd[4535]: INTERNAL ERROR: Signal 11 in pid 4535 (2.2.8a) Sep 25 23:40:19 intra1 smbd[4535]: Please read the file BUGS.txt in the distribution Sep 25 23:40:19 intra1 smbd[4535]: [2003/09/25 23:40:19, 0] lib/fault.c:fault_report(41) Sep 25 23:40:19 intra1 smbd[4535]: ==============================================================Sep 25 23:40:19 intra1 smbd[4535]: [2003/09/25 23:40:19, 0] lib/util.c:smb_panic(1094) Sep 25 23:40:19 intra1 smbd[4535]: PANIC: internal error Sep 25 23:40:19 intra1 smbd[4535]: Sep 25 23:40:20 intra1 smbd[4766]: [2003/09/25 23:40:20, 0] smbd/service.c:make_connection(381) And here the smb.conf # Global parameters [global] workgroup = SCHMIEDER netbios name = INTRA1 netbios aliases = intra1 server string = Intra1-SambaServer %v security = DOMAIN encrypt passwords = Yes update encrypted = Yes min passwd length = 4 map to guest = Bad User password server = NT01 username map = /etc/samba/user.map admin log = Yes log level = 1 log file = /var/log/samba/%m.log max log size = 50 name resolve order = wins dns lmhosts host bcast time server = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 character set = ISO8859-15 domain admin group = +Dom?nen-Admins, root logon path = /daten/samba/netlogon dns proxy = No wins server = 172.10.9.11 default service = global winbind uid = 10000-20000 winbind gid = 10000-20000 winbind separator = + winbind cache time = 10 winbind use default domain = Yes admin users = +Dom?nen-Admins, hoschmieder, install, netinstall printer admin = +Dom?nen-Admins, hoschmieder, operator printing = plp lppause command = lpc hold %p %j lpresume command = lpc resume %p %j [home] comment = Benutzer Homeverzeichnis path = /daten1/userdirs/homes/%U valid users = SCHMIEDER+%U read only = No create mask = 0755 [profile$] comment = Benutzer Profil path = /daten1/userdirs/profiles/%U valid users = +Dom?nen-Benutzer read only = No create mask = 0775 directory mask = 0775 [install$] comment = Netinstallverzeichnis path = /daten1/install valid users = +Dom?nen-Benutzer force group = Dom?nen-Benutzer read only = No create mask = 0775 force create mode = 0775 directory mask = 0775 force directory mode = 0775 guest ok = Yes [HP-LJ1200PCL] comment = nur fuer Kontakte path = /var/spool/samba printable = Yes printer name = HP-LJ1200 [labor_lex] comment = SchwarzWeiss Laser Labor path = /var/spool/samba printable = Yes printer name = labor_lex [print$] path = /daten/samba/printer valid users = +Dom?nen-Benutzer write list = hoschmieder,install,Administrator,operator force group = Dom?nen-Admins read only = No create mask = 0775 force create mode = 0775 directory mask = 0775 force directory mode = 0775 guest ok = Yes [pdfout] path = /daten/pdfout force user = nobody read only = No guest ok = Yes [pdf] comment = PDF einzel path = /tmp guest ok = Yes printable = Yes print command = /usr/bin/printpdf %s %U lpq command lprm command [pdfadd] comment = PDF anhaengen path = /tmp guest ok = Yes printable = Yes print command = /usr/bin/printpdfadd %s lpq command lprm command [pdfadd1] comment = PDF anhaengen1 path = /tmp guest ok = Yes printable = Yes print command = /usr/bin/printpdfadd1 %s lpq command lprm command [HylaFAX] comment = HylaFAX Serverprinter path = /tmp printable = Yes print command = /var/spool/hylafax/bin/sambafax %s %U [HylaFAX-Seriendruck] comment = HylaFAX Serverprinter nur fuer Seriendruck path = /tmp printable = Yes print command = /var/spool/hylafax/bin/sambafax-serie %s %U -------------- next part -------------- ---------------- Interscan Viruswall ---------------- Diese Mail wurde im Hause SCHMIEDER auf Viren gescannt. ----------------------------------------------------
Good day, We have recently started running Samba (obtained from HP as CIFS/9000). There is a problem with the magic script option under the shares. I've set up a magic script for the share /tmp and when I edit and close the file, the only thing that is done is that the file is deleted. If I put the same script in /opt/samba/bin, then the one in /opt/samba/bin is executed when I put a script of the same name in /tmp, and then the output is put in /tmp and the script is deleted from /tmp. If the actual script is different, you can tell that the one being run is the one in /opt/samba/bin and not the one in /tmp. If it's a path issue on the UNIX side, that's not good, because I don't want to add everyone's home directory to the path Samba will run through. The section of the smb.conf file reads as follows: [tmp] path = /tmp magic script = pops.sh magic output = pops.out We'd like to use this feature to allow the users to do automatic check-in/check-out of source code to our source code tracking system on the HP host from their Windows 2000 workstations. But the script would have to be different (obviously) each time, but could have the same name. Thanks, Jim Notice: This e-mail consists entirely of electrons looted during the NYC '03 Blackout. Jim Poplawski - SCRIPS Program Manager- Systems Support 1800 Alexander Bell Dr. Reston Va. 20191 (703)453-1238
Hello, I have found a small bug in the samba server. My /etc/mtab file was not readable by the samba process and when a client (smbclient) did a 'ls' on a share, it could not get the volume size and segfault-ed. Here is an extract from log.smbd: -----------------BEGIN LOG EXTRACT--------------------------- tsunami (141.85.156.6) connect to service alexm as user alexm (uid=500, gid=10 0) (pid 6078) [2003/12/23 11:40:23, 0] lib/fault.c:fault_report(38) ==============================================================[2003/12/23 11:40:23, 0] lib/fault.c:fault_report(39) INTERNAL ERROR: Signal 11 in pid 6078 (2.2.7a-SuSE) Please read the file BUGS.txt in the distribution [2003/12/23 11:40:23, 0] lib/fault.c:fault_report(41) ==============================================================[2003/12/23 11:40:23, 0] lib/util.c:smb_panic(1094) PANIC: internal error -----------------END LOG EXTRACT------------------------------ I run a SuSE 8.2 server with the latest updates, smbd -V reports 'Version 2.2.7a-SuSE'. If you need further information I could probably replicate the problem, but my skills in program debugging are limited. I hope that this information is sufficient in finding the problem. Regards, alexm