Displaying 20 results from an estimated 21 matches for "lp_servicenam".
Did you mean:
lp_servicename
2007 May 16
1
SAMBA: Share specific log files
...l path. The code changes that is done are as follows:
char logfilefullpath[70];
char sharename[256];
safe_strcpy_fn (__FILE__, __LINE__ ,logfilefullpath,
"/log/sharenet/", sizeof ("/log/sharenet/"));
safe_strcat_fn
(__FILE__,__LINE__,logfilefullpath,lp_servicename(snum),
sizeof("/log/sharenet/")+sizeof(lp_servicename(snum)));
safe_strcat_fn (__FILE__,__LINE__,logfilefullpath,".log",
sizeof("/log/sharenet/")+sizeof(lp_servicename(snum))+sizeof(".log"));
safe_strcpy_fn
(__FILE__,__LINE__,sharename,lp_serv...
2004 Jan 07
0
Win2K3 ADS and Samba 3.0.1: Cannot access shares even with IP
..._ChDir(conn,conn->connectpath) != 0) {
DEBUG(0,("%s (%s) Can't change directory to %s (%s)\n",
get_remote_machine_name(), conn->client_address,
conn->connectpath,strerror(errno)));
change_to_root_user();
yield_connection(conn, lp_servicename(SNUM(conn)));
conn_free(conn);
*status = NT_STATUS_BAD_NETWORK_NAME;
return NULL;
}
#else
/* the alternative is just to check the directory exists */
if (stat(conn->connectpath, &st) != 0 || !S_ISDIR(st.st_mode)) {
DEBUG(0,("'%s' does...
2005 Aug 09
1
Undefined references during compiling
...ules/vfs_recycle.po(.text+0xb3): undefined reference to
`DEBUGLEVEL_CLASS'
modules/vfs_recycle.po(.text+0xc1): undefined reference to
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_recycle.po(.text+0xe5): undefined reference to `dbghdr'
modules/vfs_recycle.po(.text+0x101): undefined reference to
`lp_servicename'
modules/vfs_recycle.po(.text+0x111): undefined reference to `dbgtext'
modules/vfs_recycle.po: In function `recycle_repository':
modules/vfs_recycle.po(.text+0x177): undefined reference to
`lp_parm_const_string'
but it still trudges along and compiles. Since these appear to be
re...
2003 Dec 01
1
smb_panic + Backtrace
...94) [0x8179634]
#2 /usr/local/samba/sbin/smbd(dbgtext+0x1f2) [0x8179692]
#3 /lib/libc.so.6(__libc_sigaction+0x138) [0x401ac7f8]
#4 /usr/local/samba/sbin/smbd(alloc_sub_basic+0x23) [0x818f343]
#5 /usr/local/samba/sbin/smbd(lp_talloc_free+0x67) [0x80743f7]
#6 /usr/local/samba/sbin/smbd(lp_servicename+0x37) [0x8075967]
#7 /usr/local/samba/sbin/smbd(make_connection+0x2c0) [0x80bb270]
#8 /usr/local/samba/sbin/smbd(reply_tcon_and_X+0x228) [0x8093eb8]
#9
/usr/local/samba/sbin/smbd(respond_to_all_remaining_local_messages+0x65b)
[0x80b85db]
#10
/usr/local/samba/sbin/smbd(respond_to_all_re...
2002 Dec 19
0
Failed to delete entry for share
...ne setting, saving it, and then
recreating the exact same setting.
The actual error message come from the following section in the source:
rpc_server/srv_srvsvc_nt.c
static BOOL delete_share_security(int snum)
{
TDB_DATA kbuf;
fstring key;
slprintf(key, sizeof(key)-1, "SECDESC/%s",
lp_servicename(snum));
kbuf.dptr = key;
kbuf.dsize = strlen(key)+1;
if (tdb_delete(share_tdb, kbuf) != 0) {
DEBUG(0,("delete_share_security: Failed to delete entry
for share %s\n",
lp_servicename(snum) ));
return False;
}
return True;
}
So It appears to me that some security setting is...
2015 Oct 30
3
widelinks_warning - but unix extensions *are* off
...{
> DEBUG(0,("Share '%s' has wide links and unix extensions enabled. "
> "These parameters are incompatible. "
> "Wide links will be disabled for this share.\n",
> lp_servicename(talloc_tos(), snum) ));
> }
> }
>
> so it's pretty simple. Both must be being seen to emit the message.
> Can you get this reproducible ?
I am aware of the code above. What I don't grasp is: what is turning on "unix extensions", under what circumstances? I...
2015 Oct 29
2
widelinks_warning - but unix extensions *are* off
Hi all
Since we changed our installation from Samba 3.x to 4.x (currently 4.2.5 on Solaris 11.1), we repeatedly encounter the following 'widelinks_warning', originating from Windows Server 2012 R2 RDS clients:
[2015/10/29 15:50:38.837702, 0] ../source3/param/loadparm.c:4306(widelinks_warning)
Share 'data' has wide links and unix extensions enabled. These parameters are
2004 Sep 21
4
Problems compiling samba-3.0.7 on Redhat-7.2
...ules/vfs_recycle.po(.text+0xa7): undefined reference to `DEBUGLEVEL_CLASS'
modules/vfs_recycle.po(.text+0xc1): undefined reference to `DEBUGLEVEL_CLASS_ISSET'
modules/vfs_recycle.po(.text+0xe6): undefined reference to `dbghdr'
modules/vfs_recycle.po(.text+0x102): undefined reference to `lp_servicename'
modules/vfs_recycle.po(.text+0x111): undefined reference to `dbgtext'
----------
and a lot more of these.
My configure options:
./configure --prefix=/opt/samba --sysconfdir=/etc/samba --with-configdir=/etc/samba \
--with-privatedir=/etc/samba --with-lockdir=/var/cache/samba --with-piddir...
2009 Dec 22
8
Illegal instruction: 4 (core dumped) when running testparm & [sn]mbd with default config
I'm running FreeBSD 8 on a Sheevaplug (ARM5 processor)
I compiled and installed Samba 3.3.9 from ports using defaults and defaults
for dependencies.
I left the smb.conf file untouched, ran testparm and immediately received
the coredump.
The same happens running smbd and nmbd.
Can anyone help me resolve?
http://old.nabble.com/file/p26879957/testparm.core.gz testparm.core.gz
--
View this
2015 Oct 29
0
widelinks_warning - but unix extensions *are* off
...ide_links(snum)) {
DEBUG(0,("Share '%s' has wide links and unix extensions enabled. "
"These parameters are incompatible. "
"Wide links will be disabled for this share.\n",
lp_servicename(talloc_tos(), snum) ));
}
}
so it's pretty simple. Both must be being seen to emit the message.
Can you get this reproducible ?
1999 Aug 14
1
what is IPC$
HI
I have been working with NT, Samba and win 9x for a couple of years. Any
time an NT server is set to Domain security, or a Samba server is set to
anything but share level security I have problems. My problem is this. I
want to allow a diverse groupe of machines to connect to the samba server
using user level access, but it always askes me for a password to connect
to \\SERVER\IPC$, but no
2000 Feb 05
0
Samba doesn't manage well long share name
...rm.c 2000/02/05 09:18:26
@@ -239,6 +239,10 @@
printf("WARNING: You have some share names that are longer than 8 chars\n");
printf("These may give errors while browsing or may not be accessible\nto some older clients\n");
break;
+ } else if (strlen(lp_servicename(s)) > 14) {
+ printf("WARNING: You have some share names that are longer than 14 chars\n");
+ printf("These may not be accessible to some clients\n");
+ break;
}
}
2004 May 26
2
duplicate domains in browse list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
i recently upgraded some of my servers from 3.0.2a to 3.0.4
after the upgrade my browselist shows duplicate entries for the domains.
one domains is managed by a samba PDC(providing WINS too) and two samba
BDC's.
the other domains are managed by one samba PDC.
'smbclient -N -L <WINS_SERVER>' shows:
- ---
Workgroup
2003 Sep 05
1
Problem with Win95 + DFS clients (fwd)
...UERY_JOB_INFO:
- SSVAL(p,0,fsp->print_jobid); /* Job number */
+ if ( fsp != NULL )
+ SSVAL(p,0,fsp->print_jobid); /* Job number */
+ else
+ SSVAL(p,0,temp);
StrnCpy(p+2, global_myname, 15); /* Our NetBIOS name */
StrnCpy(p+18, lp_servicename(SNUM(conn)), 13); /* Service name */
break;
@@ -1782,6 +1807,11 @@
SSVAL(outbuf,smb_vwv11,smb_action);
END_PROFILE(SMBopenX);
+ /* iskantha : attach hack_fid to last fnum */
+ hack_fid = fsp->fnum;
+ DEBUG(4,("open_and_X connect: FID = %d ( %x ) hack_fid = %d \n",
+ f...
2005 Feb 08
2
compiling on an old system...
...ules/vfs_recycle.po(.text+0xc3): undefined reference to
`DEBUGLEVEL_CLASS'
modules/vfs_recycle.po(.text+0xd1): undefined reference to
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_recycle.po(.text+0xf5): undefined reference to `dbghdr'
modules/vfs_recycle.po(.text+0x114): undefined reference to
`lp_servicename'
modules/vfs_recycle.po(.text+0x121): undefined reference to `dbgtext'
modules/vfs_recycle.po: In function `recycle_repository':
modules/vfs_recycle.po(.text+0x197): undefined reference to
`lp_parm_const_string'
modules/vfs_recycle.po(.text+0x1a5): undefined reference to
`DEBUGLEVE...
2015 Oct 30
0
widelinks_warning - but unix extensions *are* off
...are '%s' has wide links and unix extensions
> enabled. "
> >> "These parameters are incompatible. "
> >> "Wide links will be disabled for this
> share.\n",
> >> lp_servicename(talloc_tos(), snum) ));
> >> }
> >> }
> >>
> >> so it's pretty simple. Both must be being seen to emit the message.
> >> Can you get this reproducible ?
> > I am aware of the code above. What I don't grasp is: what is turning on
&g...
2003 Dec 01
0
specific client machines can't write / execute others can and oplock causes panic
...from /lib/libc.so.6
#2 0x401867c5 in system () from /lib/libc.so.6
#3 0x081817bd in smb_panic ()
#4 0x081727f3 in dbgtext ()
#5 0x08172845 in dbgtext ()
#6 0x4016a6b8 in sigaction () from /lib/libc.so.6
#7 0x08186d4b in alloc_sub_basic ()
#8 0x0807775b in lp_talloc_free ()
#9 0x0807869f in lp_servicename ()
#10 0x080bba6d in make_connection ()
#11 0x080955f3 in reply_tcon_and_X ()
#12 0x080b8eaa in respond_to_all_remaining_local_messages ()
#13 0x080b8f43 in respond_to_all_remaining_local_messages ()
#14 0x080b91e3 in process_smb ()
#15 0x080b9b2f in smbd_process ()
#16 0x081d784f in main ()
#17 0...
2015 Nov 02
2
widelinks_warning - but unix extensions *are* off
...9; has wide links and unix extensions
>> enabled. "
>>>> "These parameters are incompatible. "
>>>> "Wide links will be disabled for this
>> share.\n",
>>>> lp_servicename(talloc_tos(), snum) ));
>>>> }
>>>> }
>>>>
>>>> so it's pretty simple. Both must be being seen to emit the message.
>>>> Can you get this reproducible ?
>>> I am aware of the code above. What I don't grasp is: wha...
2002 Jul 31
16
Trying to debug a WinXP - Win2000 ADSproblem..HELP!
Now I could be way of base here, but I run 2 samba web servers with approx 8 people working with them.
So my exp is limited. When I got here the boxes were set up with server level security and I had tons of problems with them.
When I reformatted the units, I actually joined the samba boxes to the domain and set the security to "domain"
I found these steps in an old version of Linux-Mag,
2004 Oct 21
0
compile errors samba 3.0.7 vfs
...es/vfs_recycle.po(.text+0xba): undefined reference to
`DEBUGLEVEL_CLASS'
modules/vfs_recycle.po(.text+0xd1): undefined reference to
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_recycle.po(.text+0xf5): undefined reference to `dbghdr'
modules/vfs_recycle.po(.text+0x114): undefined reference to `lp_servicename'
modules/vfs_recycle.po(.text+0x121): undefined reference to `dbgtext'
modules/vfs_recycle.po: In function `recycle_repository':
modules/vfs_recycle.po(.text+0x190): undefined reference to
`lp_parm_const_string'
modules/vfs_recycle.po(.text+0x198): undefined reference to
`DEBUGLE...