[Samba] rpcclient netsharegetinfo against linux server
Gerald (Jerry) Carter
jerry at samba.org
Wed Jul 26 14:53:04 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Henrik Zagerholm wrote:
> Is there anyway for me to patch that code to suit my needs
> or is it hard to make that distinction between servers
> internally in samba? In other words could this be done with
> some code modifications without having suicidal dreams
> at night.. :)
Pretty simple. Something like this should work:
if ( get_remote_arch() == RA_SAMBA ) {
}
else {
}
Look in source/rpc_server/srv_srvsvc_nt.c
cheers, jerry
=====================================================================
Samba ------- http://www.samba.org
Centeris ----------- http://www.centeris.com
"What man is a man who does not make the world better?" --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEx4HPIR7qMdg1EfYRAtUcAJ9DL2jH1DTj3Ncvrlyu+f0XbZxgWgCgq833
gs+FiZ8izmg4vkfX8qSW65E=
=cIa7
-----END PGP SIGNATURE-----
More information about the samba
mailing list